Skip to main content

Messaging with Apache Kafka

Learn Messaging with Apache Kafka (Kafka & Event-Driven Architecture, Spring Boot) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

What is Kafka? • Apache Kafka is a distributed messaging system : one application sends updates, another application receives them, and neither has to know the other exists. • The two sides never talk to each other directly. Everything goes through the Kafka broker , which stores the messages. • Because the broker stores messages, the receiver may be down when the message is sent and still read it later. That is the whole point. Business requirement On an online shopping site a user buys a product. The order details must reach a second system - billing, warehouse, notifications - without the...

More lessons in Kafka & Event-Driven Architecture