Skip to main content

Microservice communication with kafka broker

 Microservice communication with kafka broker in Event driven architecture


This article display how the communication takes place between two or more microservice. For communicating between the microservice you can use any message broker here in this example we are using the Kafka broker. For communication with the microservice we have created two topics TOPIC 1 and TOPIC 2. 
TOPIC 1 will be produced by the MS_1 and will be consumed by the MS_2 and TOPIC 2 will be produced by the MS_2 and will be consumed by the MS_1.
For detailed explanation follow the below video link.

Comments

Popular posts from this blog

Q & A Chapter 1 | Internet Basics | Class 10 CBSE | Computer Application

 Q & A of Chapter 1 Internet Basics A. Tick the correct options – 1. (b) TCP/IP 2. (a) Internet Service Provider 3. (a) URL 4. (b) HTTP 5. (a) Bridge 6. (a) home page 7. (d) All of these 8. (b) Domain Naming System 9. (b) Rules 10. (d) ARPANET B. Very Short Answer Type Questions – 1. In the URL http://www.myfirm.co.in/about.html , what do the following components depict? (a) http                                                 (b) in (a) Http represents a type of server and the protocol on the Internet (b) ‘in’ represents the domain extension of the website. 2. In the URL http://www.favmusic.com/contactus.html what does www.favmusic stand for? www.favmusic represents the domain name i.e. favmusic in www. 3. W...

Create Composite Key in SQL

What is a composite key? A composite key in SQL can be defined as  a combination of multiple columns , which are used to identify all the rows involved uniquely. Even though a single column can't identify any row uniquely, a combination of over one column can uniquely specify any record. How to create a composite key? EG: