- It pulls earthquake data from http://udim.koeri.boun.edu.tr/zeqmap/xmlt/son24saat.xml and writes it to a topic in Kafka if there is a new earthquake.
Start :
cd deployment
docker-compose up --buildStop:
cd deployment
docker-compose down -v --rmi all --remove-orphansYou You can see kafka posts events with commands to help. Bash:
docker exec -it kafka_eq /bin/shEartQuake Comsumer:
kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic earthquake --from-beginningEartQuake Producer:
kafka-console-producer.sh --broker-list localhost:9092 --topic earthquake