The below insructions will work on the assumption that
- You are using OSX
- You use Kafka 2.0 version
- Install Kafka on your machine -
brew install kafka
- Start Kafka together with ZooKeeper -
zookeeper-server-start /usr/local/etc/kafka/zookeeper.properties & kafka-server-start /usr/local/etc/kafka/server.properties
- Make sure
auto.create.topics.enable
property is set totrue