[QUESTION] How to detect connection issues with a consumer?
未关闭
question
- 主要语言
- Python
- 星标
- 1.4k
- 派生
- 269
- 平均合并
- 1 天 1 小时
- 30 天内合并 PR
- 6
描述
Hello,
we face issues to detect the connection status to the broker with a consumer. We have the requirement to generate a notification, if the connection to the broker is lost. But with `aiokafka` we cannot come up with any good concept to do that.
If we run `getmany(...)` the method will just return after the timeout is reached with an empty dictionary. But we don't know if the dictionary was empty because of no messages received or because of the connection get lost. Is there any way to test the connection status?
贡献指南
评估
这个 Issue 还没有评估数据。