Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to check kafka topic retention period

bin/kafka-topics.sh --zookeeper hostname:2181 --alter --config retention.ms=172800000 --topic <topic_name>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #kafka #topic #retention #period
ADD COMMENT
Topic
Name
5+8 =