From the root directory of the repository:
- Run
./mvnw clean install -pl :flight-tracker-common
to build thecommon
module and install its jar into your local Maven repository. - Run
./mvnw clean quarkus:dev -pl :flight-tracker-data-simulator
to start thedata-simulator
Quarkus app. - Open another terminal and run
./mvnw clean quarkus:dev -pl :flight-tracker-data-aggregator
to start thedata-aggregator
Quarkus app. - Open another terminal and run
./mvnw clean quarkus:dev -pl :flight-tracker-map-service
to start themap-service
Quarkus app. - Open http://localhost:8090 and start playing with the UI.
This demo does not require any local Kafka server or PostgreSQL server.
Quarkus will automatically start these servers in dev mode (quarkus:dev
) thanks to the Quarkus Dev Services.
The Kafka Dev Service will be shared between all apps of the demo, meaning that the apps will automatically be able to exchange messages through the Kafka topics.