- Bouchereau Louis,
- Klein Arthur,
- Mosser Hugo.
Project for the the module "Architectures et Microservices" of ING3 in CY Tech.
Two producers send gps coordinates to a kafka.
A consumer gets these coordinates and store them in a database.
An api access the data of this database.
A frontend displays the location of the producers on a map.
- docker 25 or higher,
- at least 8GB of memory available.
git clone https://github.com/HeavY-Futhark/kafka_gps
cd kafka_gps
docker compose up
Wait for a log ressembling the following:
producer1-1 | INFO:root:Message livré à coordinates [0]
Open a browser and go to "localhost:8080".
If the program does not run correctly, try running:
docker compose logs db
if the logs indicates no space left on device, the host does not meet the memory requirements of the project.
The project exposes the following ports:
- 9093 for kafka,
- 8080 for the frontend,
- 8000 for the api. If one of these is used by another program, the creation of the corresponding container will be impossible.
When connected to eduroam, pip seems to be unable to locate the packages.