brew install kafka
cd /usr/local/Cellar/kafka/2.1.1/bin/
./zookeeper-server-start /usr/local/etc/kafka/zookeeper.properties &
./kafka-server-start /usr/local/etc/kafka/server.properties &
cd /usr/local/etc/kafka/
cd /usr/local/etc/zookeeper/
kafka-topics --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic sunday
kafka-topics --list --zookeeper localhost:2181
kafka-console-producer --broker-list localhost:9092 --topic test
kafka-console-consumer --bootstrap-server localhost:9092 --topic test --from-beginning