Instantly share code, notes, and snippets.

Embed
What would you like to do?
/usr/local/kafka/bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic test
# Test
/usr/local/kafka/bin/kafka-topics.sh --zookeeper localhost:2181 --describe --topic "test"
# Topic:test PartitionCount:1 ReplicationFactor:1 Configs:
# Topic: test Partition: 0 Leader: 0 Replicas: 0 Isr: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment