Search⌘ K

Events with Kafka

Explore how Kafka enables asynchronous event-driven communication in microservices. Understand different strategies for sending events, including after actions, before actions, and batching. Learn how Kafka log compaction and consumer groups support message handling and data consistency.

Introduction #

Systems that communicate via Kafka can easily exchange events (see also Events).

  • Records can be saved permanently, and a consumer can read out the history and rebuild its state. The consumer does not have to store the data locally but can rely on Kafka.
  • However, this means that all relevant information must be stored in the record. Events discussed the benefits and disadvantages of this approach.
  • If an event becomes irrelevant ...