Skip to content

jicai/petclinic-vertx-kafka

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pet Clinic with Vert.x and Kafka

About

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:

Setup

Build project

Run mvn package to build project with Maven.

Start the application

Run docker-compose --profile local up to start the application with Docker.

To check that your application is running enter url http://localhost:8080/

Start only Kafka

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.

Start the application in IDE

Run the main method of class MainVerticle.

Endpoints

GET /pets Get all pets

PUT /pets Create pet

GET /pets/{pet_id} Get pet

POST /pets/{pet_id} Update pet

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 98.9%
  • Dockerfile 1.1%