cd /usr/local/Cellar/kafka/3.4.0
bin/zookeeper-server-start.sh config/zookeeper.properties
Follow these docs: https://kafka.apache.org/quickstart
zookeeper-server-start /usr/local/etc/kafka/zookeeper.properties & kafka-server-start /usr/local/etc/kafka/server.properties
kafka-topics --create --bootstrap-server localhost:9092 --replication-factor 1 --partitions 1 --topic leaderboard
-
Start Zookeeper:
./scripts/start_zookeeper.sh
-
Start Kafka Server:
./scripts/start_kafka_server.sh
-
Web UI:
docker run -it -p 8080:8080 -e DYNAMIC_CONFIG_ENABLED=true provectuslabs/kafka-ui
-
Run the producer python files
-
Run the consumers