/microservices-kafka

This project contains two microservices projects wich I used to implement Asynchronous communication between them, using Kafka.

Primary LanguageJava

Asynchronous communication between Microservices with Kafka

This mono repo contains two microservices projects which I developed while making my article Kafka With Java, Spring and Docker, Asynchronous Communication Between Microservices on Medium.

Running the projects on your machine

  • clone producer microservice
  • clone consumer microservice
  • both projects contain a docker-compose.yml
  • use any of them to run kafka docker environment
  • under the root directory of the project you chose run
  • docker-compose up
  • go to localhost:9000 to access Kafkdrop web interface for Kafka

Producer microservice

Consumer microservice

Medium article made while developing this project