- 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.
- Spring Boot 2實戰之旅
- Building a RESTful Web Service with Spring
- 數據結構(Python語言描述)(第2版)
- 利用Python進行數據分析(原書第3版)
- Learning Salesforce Einstein
- ASP.NET程序設計教程
- Hands-On Functional Programming with TypeScript
- Mastering Linux Network Administration
- Mastering Drupal 8 Views
- 軟件測試實用教程
- Access 2010中文版項目教程
- Hands-On Dependency Injection in Go
- Access數據庫應用教程(2010版)
- JavaWeb從入門到精通(視頻實戰版)
- AngularJS UI Development