Kafka - Section 2: CLI 101 π©βπ»
Table of Contents π
- π home
- π©βπ» cli 101
- πΏ topics
- π producers
- π½οΈ consumers
- π₯ consumer groups
Description π
These are concepts used to interact with Kafka using the CLI, and come bundled with the Kafka binaries. Follow the quick start guide to install Kafka and get started, located here.
Important Notes π
- use the bootstrap server option EVERYWHERE.
- i.e
kafka-topics --bootstrap-server localhost:9092
since zookeeper will be deprecated in the future
- i.e
kafka-topics --zookeeper localhost:2181(donβt do this, this is bad)
- i.e
-
when running a command from the
CLIand you get the following errorWarn [AdminCLient clientId=adminclient-1] Connection to node -1- refer to this link for a solution