Kafka 消费者 - Java (0.9 API)
Kafka Consumer - Java (0.9 API)
我正在考虑使用 0.9 API 版本构建 Kafka 消费者。请您解释一下消费者再平衡是什么意思?这里提到的消费者和协调者有什么区别?还请你解释一下消费者裂脑问题吗?
The following is a draft design that uses a high-available consumer
coordinator at the broker side to handle consumer rebalance. By
migrating the rebalance logic from the consumer to the coordinator we
can resolve the consumer split brain problem and help thinner the
consumer client.
我正在考虑使用 0.9 API 版本构建 Kafka 消费者。请您解释一下消费者再平衡是什么意思?这里提到的消费者和协调者有什么区别?还请你解释一下消费者裂脑问题吗?
The following is a draft design that uses a high-available consumer coordinator at the broker side to handle consumer rebalance. By migrating the rebalance logic from the consumer to the coordinator we can resolve the consumer split brain problem and help thinner the consumer client.