Answers for "delete all messages from topic 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

Code answers related to "delete all messages from topic kafka"

Browse Popular Code Answers by Language