The SNMB Kafka cluster is running; now let's create topics, producer, and consumer.
SNMB – creating a topic, producer, and consumer
Getting ready
We need the previous recipe executed:
- Kafka already installed
- ZooKeeper up and running
- A Kafka server up and running
- Now, go to the Kafka installation directory (/usr/local/kafka/ for macOS users and /opt/kafka/ for Linux users):
> cd /usr/local/kafka
How to do it...
The following steps will show you how to create an SNMB topic, producer, and consumer