Answers for "how to clear data in topic in kafka"

1

remove all data from kafka topic

kafka-topics.sh --zookeeper localhost:2181 --alter --topic topic1 --config retention.ms=1000
Posted by: Guest on May-25-2020

Browse Popular Code Answers by Language