Open cmflynn opened 1 year ago
I'm having exactly the same problem
Do you have a minimal code to reproduce the error ? It could be network/DNS related, as the exchange between a kafka client and brokers are not as straight forward as other classical TCP/HTTP connection
Some common issue then could be that the DNS/IP returned as part of the cluster metadata response are getting obsolete or are not reachable
Is there's any programatic way for us to check if it got disconnected and reconnect?
Describe the bug to the best of my knowledge, the consumer is somehow dropping a connection to the kakfa brokers, and when it tries to reconnect it also seems to completely block the active event loop :(
heres how the logs look on the api:
Expected behaviour
The consumer should be able to recover and reconnect to the brokers, but it does not appear to be doing so.
Environment (please complete the following information):
python -c "import aiokafka; print(aiokafka.__version__)"
): aiokafka==0.7.2python -c "import kafka; print(kafka.__version__)"
): kafka-python==2.0.2kafka-topics.sh --version
):