Class WindowedChangelogTopicConfig
- java.lang.Object
-
- org.apache.kafka.streams.processor.internals.InternalTopicConfig
-
- org.apache.kafka.streams.processor.internals.WindowedChangelogTopicConfig
-
public class WindowedChangelogTopicConfig extends InternalTopicConfig
WindowedChangelogTopicConfig captures the properties required for configuring the windowed store changelog topics.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Map<String,String>
getProperties(Map<String,String> defaultProperties, long additionalRetentionMs)
Get the configured properties for this topic.int
hashCode()
String
toString()
-
Methods inherited from class org.apache.kafka.streams.processor.internals.InternalTopicConfig
hasEnforcedNumberOfPartitions, name, numberOfPartitions, setNumberOfPartitions
-
-
-
-
Method Detail
-
getProperties
public Map<String,String> getProperties(Map<String,String> defaultProperties, long additionalRetentionMs)
Get the configured properties for this topic. If retentionMs is set then we add additionalRetentionMs to work out the desired retention when cleanup.policy=compact,delete- Specified by:
getProperties
in classInternalTopicConfig
- Parameters:
additionalRetentionMs
- - added to retention to allow for clock drift etc- Returns:
- Properties to be used when creating the topic
-
toString
public String toString()
- Overrides:
toString
in classInternalTopicConfig
-
-