- Download Kafka (includes zookeeper)
- Build Kafka after extracting the tar file
./zookeeper-server-start.sh ../config/zookeeper.properties
./kafka-server-start.sh ../config/server.properties
- In /bin create a new kafka topic
./kafka-topics.sh --create --topic kafka-chat --replication-factor 1 --partitions 2 --zookeeper localhost:2181
- To quickly test - post a message after running below command
./kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic kafka-chat
npm i sockjs-client @material-ui/core react-stomp axios