Answers for "kafka clear all messages from 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

Browse Popular Code Answers by Language