Answers for "how to delete all messages in 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 "how to delete all messages in kafka topic"

Browse Popular Code Answers by Language