Class ConfigureLogCleanerForTopicCompaction


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.4.0")
    public class ConfigureLogCleanerForTopicCompaction
    extends Object
    ConfigureLogCleanerForTopicCompaction
    • Field Detail

      • JSON_PROPERTY_LOG_CLEANER_DELETE_RETENTION_MS

        public static final String JSON_PROPERTY_LOG_CLEANER_DELETE_RETENTION_MS
        See Also:
        Constant Field Values
      • JSON_PROPERTY_LOG_CLEANER_MAX_COMPACTION_LAG_MS

        public static final String JSON_PROPERTY_LOG_CLEANER_MAX_COMPACTION_LAG_MS
        See Also:
        Constant Field Values
      • JSON_PROPERTY_LOG_CLEANER_MIN_CLEANABLE_RATIO

        public static final String JSON_PROPERTY_LOG_CLEANER_MIN_CLEANABLE_RATIO
        See Also:
        Constant Field Values
      • JSON_PROPERTY_LOG_CLEANER_MIN_COMPACTION_LAG_MS

        public static final String JSON_PROPERTY_LOG_CLEANER_MIN_COMPACTION_LAG_MS
        See Also:
        Constant Field Values
    • Constructor Detail

      • ConfigureLogCleanerForTopicCompaction

        public ConfigureLogCleanerForTopicCompaction()
    • Method Detail

      • getLogCleanerDeleteRetentionMs

        @Nullable
        public Integer getLogCleanerDeleteRetentionMs()
        How long are delete records retained? minimum: 0 maximum: 315569260000
        Returns:
        logCleanerDeleteRetentionMs
      • setLogCleanerDeleteRetentionMs

        public void setLogCleanerDeleteRetentionMs​(Integer logCleanerDeleteRetentionMs)
      • getLogCleanerMaxCompactionLagMs

        @Nullable
        public Integer getLogCleanerMaxCompactionLagMs()
        The maximum amount of time message will remain uncompacted. Only applicable for logs that are being compacted minimum: 30000 maximum: 9223372036854775807
        Returns:
        logCleanerMaxCompactionLagMs
      • setLogCleanerMaxCompactionLagMs

        public void setLogCleanerMaxCompactionLagMs​(Integer logCleanerMaxCompactionLagMs)
      • getLogCleanerMinCleanableRatio

        @Nullable
        public BigDecimal getLogCleanerMinCleanableRatio()
        Controls log compactor frequency. Larger value means more frequent compactions but also more space wasted for logs. Consider setting log.cleaner.max.compaction.lag.ms to enforce compactions sooner, instead of setting a very high value for this option. minimum: 0.2 maximum: 0.9
        Returns:
        logCleanerMinCleanableRatio
      • setLogCleanerMinCleanableRatio

        public void setLogCleanerMinCleanableRatio​(BigDecimal logCleanerMinCleanableRatio)
      • getLogCleanerMinCompactionLagMs

        @Nullable
        public Integer getLogCleanerMinCompactionLagMs()
        The minimum time a message will remain uncompacted in the log. Only applicable for logs that are being compacted. minimum: 0 maximum: 9223372036854775807
        Returns:
        logCleanerMinCompactionLagMs
      • setLogCleanerMinCompactionLagMs

        public void setLogCleanerMinCompactionLagMs​(Integer logCleanerMinCompactionLagMs)
      • equals

        public boolean equals​(Object o)
        Return true if this Configure_log_cleaner_for_topic_compaction object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toUrlQueryString

        public String toUrlQueryString()
        Convert the instance into URL query string.
        Returns:
        URL query string
      • toUrlQueryString

        public String toUrlQueryString​(String prefix)
        Convert the instance into URL query string.
        Parameters:
        prefix - prefix of the query string
        Returns:
        URL query string