- 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.
- LaTeX Cookbook
- PHP 從入門到項目實踐(超值版)
- 計算機圖形學編程(使用OpenGL和C++)(第2版)
- C# Programming Cookbook
- Python進階編程:編寫更高效、優雅的Python代碼
- 零基礎學MQL:基于EA的自動化交易編程
- Visual C
- Rust Essentials(Second Edition)
- TradeStation交易應用實踐:量化方法構建贏家策略(原書第2版)
- 從Excel到Python:用Python輕松處理Excel數據(第2版)
- 51單片機C語言開發教程
- 軟件測試技術
- 深入理解Java虛擬機:JVM高級特性與最佳實踐
- Joomla!Search Engine Optimization
- Swift 2 Design Patterns