In kafka there is a log.retention.ms
configuration property that can be set at the Broker level and it can be overridden by retention.ms
on topic level.
Imagine I have a topic in my Kafka cluster with default config - no explicitly set retention. When I created the topic, the Broker level log.retention.ms
was set to 7 days. In the meantime I changed this setting to 30 days. Does this mean that my existing topic will use the configuration that existed when the topic was created (7 days) or does it now use the new Broker config of 30 days?
Since the not-explicitly-set config values at topic level are not shown when I do kafka-topics.sh --describe --topic foo
I find it difficult to verify.