changing kafka retention period during runtime
log.retention.hours is a property of a broker which is used as a default value when a topic is created. When you change configurations of currently running topic using kafka-topics.sh, you should specify a topic-level property. A topic-level property for log retention time is retention.ms. From Topic-level configuration in Kafka 0.8.1 documentation: Property: retention.ms Default: 7 … Read more