This is an example Java RESTful web service for a pet clinic. It is based on Vert.x and Apache Kafka.
The whole list of tools used is as follows:
For testing:
Run mvn package
to build project with Maven.
Run docker-compose --profile local up
to start the application with Docker.
To check that your application is running enter url http://localhost:8080/
You may want to start only Kafka when you want to start the application separately from your IDE. Then run the following.
Run docker-compose up
to start Kafka with Docker.
Run the main method of class MainVerticle.
GET /pets
Get all pets
PUT /pets
Create pet
GET /pets/{pet_id}
Get pet
POST /pets/{pet_id}
Update pet