Recently I've been digging in event-driven architectures for service communication. For demo followed broker approach instead of Feed approach, as broker approach has dedicated broker responsible for distributing the events to n number of subscribers. For demo we will use most popular open-source Kafka broker (https://kafka.apache.org). As spring (http://spring.io) always makes life easy 😎, Spring-Cloud-Stream project by spring makes Kafka integration in your application very easy 👍 with few annotations. Spring Cloud Stream provides Binder implementations for Kafka , Rabbit MQ , Redis , and Gemfire . Note: Before we proceed make sure you have installed ZooKeeper and Kafka & both are running. Dependencies Add following dependencies to your POM for using KAFKA. Use Case: We will have One producer (demo-producer application) & two consumers (demo-consumer application & demo-consume1 application). Produc...