Support Questions
Find answers, ask questions, and share your expertise

Kafka - Topic based Data Retention Period setup over the default settings in CM

Kafka - Topic based Data Retention Period setup over the default settings in CM

New Contributor

Hi,

Need info on how does topic based data retention policy takes precedence over the global settings?

 

Ex: My_Topic1 do not have any retention policy defined in ZK, hence the default global settings 7 days (as in CM settings for log.retention.ms) will be applied by default. But If I want to set 90 days for My_Topic2 alone using ZK alter command, will that be overridden from the global default settings? Or do we need to set global policy longer than My_Topic2 period?