Spring Cloud Session-4 Inter Microservice Communication ASynchronous using Kafka

Veröffentlicht am: 18 September 2020
auf dem Kanal: Balaji Sankar Chopparapu
4,013
71

In this tutorial we are going to learn how microservices communicate with each other in asynchronous fashion. In asynchronous communication calling microservice will not wait till the called microservice responds. This pattern can be achieved with message bus infrastructures like Kafka.Here we use Spring Cloud Stream framework to communicate with message bus.

Overview

When report-api microservice receives a request to get employee details it is going to fetch details and write results to message bus.
Mail microservice listens on the bus for employee details and when those details are available on bus. It is going to read send SMS and email.
report-api play a role of Producer
mail-client microservice plays a role of Consumer
Kafka play a role of mediator or message bus

https://github.com/balajich/spring-cl...


Auf dieser Seite können Sie das Online-Video Spring Cloud Session-4 Inter Microservice Communication ASynchronous using Kafka mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Balaji Sankar Chopparapu 18 September 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 4,013 Mal angesehen und es wurde von 71 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!