Menu

Apache Kafka Tutorial: KRaft, Docker & Consumer Groups
📰

Apache Kafka Tutorial: KRaft, Docker & Consumer Groups

DEV Community: docker·Naveed Ahmed·12 days ago
#AYCfbdRQ
#devtodocker#devto#dev#kafka#partition
Reading 0:00
15s threshold

Originally published on Naveed Ahmed's Engineering Blog .

Apache Kafka is often described as a messaging system.

That's partly true, but understanding it as a distributed event log gives you a much clearer picture of how it works.

Producers write records to partitioned topics. Brokers store those records, and consumers read them at their own pace.

Unlike a traditional work queue, Kafka can retain events after they've been consumed, allowing different applications to process or replay them independently.

Let's walk through the key concepts and a small hands-on example.

1.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.