Skip to content

devysf/microservice-with-kafka

Repository files navigation

Testing locally can be done as follows:

  1. Run the following command in terminal
docker-compose up -d

This will enable us to run the Postgres, Zookeeper, Kafka and Kafka Manager containers on the ports we specify in the docker-compose.yaml file.

  1. Run the following command to compile the maven project
mvn clean install -DskipTests
  1. Run ProducerMicroservicesApplication and ConsumerMicroservicesApplication

  2. Make requests to these endpoints

http://localhost:8081/producerDomain/save

http://localhost:8081/producerDomain/saveInvalidData

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages