Connection established, Kafka unavailable
未關閉
- 主要語言
- Python
- 星號
- 1.4k
- 分支
- 269
- 平均合併
- 1 天 1 小時
- 30 天內合併 PR
- 6
描述
Hi,
We're facing an issue where we send and receive messages using aiokafka. When restarting kafka docker container the connection is established, but kafka seems not to be ready yet, returning empty metadata, causing sytem to hang. After further debugging I figured that adding a sleep of few ms before [this line](https://github.com/aio-libs/aiokafka/blob/master/aiokafka/client.py#L294) solves the problem. I am not sure this is the right solution. If so, I can open a pull request with the fix. Otherwise, I'd appreciate if you could come up with a more appropriate one @progovoy
Thanks,
貢獻指南
評估
這個 Issue 還沒有評估資料。