All should work if there are problems please feel free to contact me at: mertselimb@gmail.com
Because of time problems (finals and thesis) the dashboard is not fully complete but it is stil real-time
Important note: Producer uses the format that is in the test.txt. Please do not change format nor add out of format text to it otherwise it will broke the consumer.
If that happens use the clean topic command and then create the topic again before starting.
To pull my repos
https://github.com/mertselimb/kafka-consumer.git
https://github.com/mertselimb/kafka-producer.git
To pull docker img and run (you can use landoop at localhost:3030)
docker run --rm -it -p 2181:2181 -p 3030:3030 -p 8081:8081 -p 8082:8082 -p 8083:8083 -p 9092:9092 -e ADV_HOST=127.0.0.1 landoop/fast-data-dev
For ssh
docker run --rm -it --net=host landoop/fast-data-dev bash
For creating topic (not needed)(in ssh)
kafka-topics --zookeeper localhost:2181 --create --topic teb --partitions 1 --replication-factor 1
Start consumer and producer
For producer (in ssh)
kafka-console-producer --broker-list localhost:9092 --topic teb
For clean up of topic (in ssh)
kafka-topics --zookeeper localhost:2181 --delete --topic teb