From the root directory of the repository:
- Run
./mvnw clean install -pl :flight-tracker-commonto build thecommonmodule and install its jar into your local Maven repository. - Run
./mvnw clean quarkus:dev -pl :flight-tracker-data-simulatorto start thedata-simulatorQuarkus app. - Open another terminal and run
./mvnw clean quarkus:dev -pl :flight-tracker-data-aggregatorto start thedata-aggregatorQuarkus app. - Open another terminal and run
./mvnw clean quarkus:dev -pl :flight-tracker-map-serviceto start themap-serviceQuarkus 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.