Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
/usr/local/kafka/bin/ --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic test
# Test
/usr/local/kafka/bin/ --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
You can’t perform that action at this time.