Skip to content

Instantly share code, notes, and snippets.

@jnbdz
Last active March 31, 2018 17:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jnbdz/beea45ba1c02743f483e0237a49f9f2d to your computer and use it in GitHub Desktop.
Save jnbdz/beea45ba1c02743f483e0237a49f9f2d to your computer and use it in GitHub Desktop.
/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