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 booleanequals(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.inthashCode()java.lang.StringtoString()-
Methods inherited from class org.apache.kafka.streams.processor.internals.InternalTopicConfig
hasEnforcedNumberOfPartitions, name, numberOfPartitions, setNumberOfPartitions
-
-
-
-
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 retentionMs is set then we add additionalRetentionMs to work out the desired retention when cleanup.policy=compact,delete- Specified by:
getPropertiesin classInternalTopicConfig- 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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classInternalTopicConfig
-
-