aio-libs / aio-libs/aiokafka

AIOKafkaConsumer recovery from whole-cluster-dead

未关闭
#703 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
1.4k
派生
269
平均合并
1 天 1 小时
30 天内合并 PR
6

描述

Hey,
I ran into the following bug (or unexpected behavior) and would be glad to get your help with that, or any idea to what I'm doing wrong.
This bug is reproducing easily on my environment.

Thanks!

**Describe the bug**
1. Cluster of 3 brokers is up and running.
2. I run AIOKafkaConsumer with bootstrap_servers list which contains all 3 brokers.
3. I produce a message and it is consumed successfully by my AIOKafkaConsumer.
3. I kill all 3 brokers (as part of a test).
4. AIOKafkaConsumer repeatedly prints "NodeNotReadyError" about all 3 brokers (which is fine)
5. I start all 3 brokers
6. AIOKafkaConsumer stops printing "NodeNotReadyError" (which also looks fine)
7. I produce a message and AIOKafkaConsumer does not consume it, neither printing any error.

**Expected behaviour**
Step 7 should successfully consume the message

**Environment:**
- aiokafka version: 0.7.0
- kafka-python version: 1.3.5
- Kafka Broker version: 2.13-2.7.0

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。