I like to know how to get the retention period for Kafka topics. Our Kafka Cluster's default retention is seven days i.e. log.retention.hours=168 But for some topics it is configured with custom retention period like 3 days.
Kafka version is 0.10.0.1 and I tried below command it is not giving retention period details.
/bin/kafka-topics.sh -zookeeper localhost:2181 --describe --topic <topic-name>
displayed below output without retention details.
--------------------------------------------------
Topic:<topic-name> PartitionCount:50 ReplicationFactor:2 Configs:
Topic: <topic-name> Partition: 0 Leader: 7 Replicas: 7,22 Isr: 7,22
Thanks in advance!