📅  最后修改于: 2022-03-11 14:50:24.599000             🧑  作者: Mango
#set retention time to forever with -1 value
./bin/kafka-topics --zookeeper zookeeper:2181 --alter --topic my-topic --config retention.ms=-1