This example shows how to process events from Apache Kafka using Quarkus extension for Kafka Streams.
To start the local development Kafka cluster:
-
Be sure Docker Deskop or Podman is running.
-
Open a terminal window and execute the following command:
docker-compose -f ../strimzi-all-in-one/docker-compose.yaml up
-
Wait until all the components are up and running.
The application is based on Quarkus so it can be started executing the following command:
mvn compile quarkus:dev
This will start the application to process ridesahre vehicle information.
Follow the instructions of the kafka-quarkus-producer
example to start sending events into Kafka.