Class UnwindowedChangelogTopicConfig


  • public class UnwindowedChangelogTopicConfig
    extends InternalTopicConfig
    UnwindowedChangelogTopicConfig captures the properties required for configuring the un-windowed store changelog topics.
    • Constructor Summary

      Constructors 
      Constructor Description
      UnwindowedChangelogTopicConfig​(java.lang.String name, java.util.Map<java.lang.String,​java.lang.String> topicConfigs)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.util.Map<java.lang.String,​java.lang.String> getProperties​(java.util.Map<java.lang.String,​java.lang.String> defaultProperties, long additionalRetentionMs)
      Get the configured properties for this topic.
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • UnwindowedChangelogTopicConfig

        public UnwindowedChangelogTopicConfig​(java.lang.String name,
                                              java.util.Map<java.lang.String,​java.lang.String> topicConfigs)
    • Method Detail

      • getProperties

        public java.util.Map<java.lang.String,​java.lang.String> getProperties​(java.util.Map<java.lang.String,​java.lang.String> defaultProperties,
                                                                                    long additionalRetentionMs)
        Get the configured properties for this topic. If rententionMs is set then we add additionalRetentionMs to work out the desired retention when cleanup.policy=compact,delete
        Specified by:
        getProperties in class InternalTopicConfig
        Parameters:
        additionalRetentionMs - - added to retention to allow for clock drift etc
        Returns:
        Properties to be used when creating the topic
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object