Answers for "delete all the messages in a kafka topic"

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

Code answers related to "delete all the messages in a kafka topic"

Browse Popular Code Answers by Language