- Building Data Streaming Applications with Apache Kafka
- Manish Kumar Chanchal Singh
- 247字
- 2022-07-12 10:38:13
Message consumers
The consumer is any one who subscribes for topics in Kafka. Each consumer belongs to a consumer group and some consumer groups contains multiple consumers. Consumers are an interesting part of Kafka and we will cover them in detail.
So, it's clear that groups play an important role; in Kafka's initial version, Zookeeper was used for group management, but in the latest version, Kafka has its own group protocol built in. One of the brokers will act as a group coordinator and will be responsible for assigning and managing partitions for groups. We will talk about Zookeeper and its own protocol in later chapters specific to the consumer.
Remember that we talked about assigning an offset to a message in a partition; each consumer reads the offset and commits the offset to the group coordinator or Zookeeper. So if consumers fail for any reason, it will start from the next message of the committed offset.
- Monkey Game Development:Beginner's Guide
- 深入淺出Prometheus:原理、應用、源碼與拓展詳解
- PLC編程及應用實戰
- Scientific Computing with Scala
- Node.js Design Patterns
- Mastering Xamarin.Forms(Second Edition)
- 第一行代碼 C語言(視頻講解版)
- Unity 2018 Shaders and Effects Cookbook
- Node Cookbook(Second Edition)
- Rust游戲開發實戰
- Qlik Sense? Cookbook
- R語言:邁向大數據之路(加強版)
- Java 9 with JShell
- Java語言程序設計實用教程(第2版)
- Web前端開發精品課:HTML5 Canvas開發詳解