kafka-python icon indicating copy to clipboard operation
kafka-python copied to clipboard

Consumer can't reconnect after brokers restart

Open avi-slavkin opened this issue 8 years ago • 5 comments

When brokers restarted for whatever reason SOMETIME consumer entering infinite loop throwing this exception:"Give up sending metadata request since no node is available".Restart of consumer is fixing it but the problem is happening quite a lot.

avi-slavkin avatar Apr 22 '18 05:04 avi-slavkin

What version of kafka-python are you using?

dpkp avatar Apr 22 '18 16:04 dpkp

1.4.2

On Sun, Apr 22, 2018, 19:35 Dana Powers [email protected] wrote:

What version of kafka-python are you using?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dpkp/kafka-python/issues/1477#issuecomment-383394411, or mute the thread https://github.com/notifications/unsubscribe-auth/AjQEkSZGhcx5FSQSVoIC_7jrTkd0n5w7ks5trLFogaJpZM4Teu6m .

avi-slavkin avatar Apr 22 '18 16:04 avi-slavkin

Another thing that might be important,we use eventlet and apply monkey patch.

avi-slavkin avatar Apr 29 '18 13:04 avi-slavkin

we alse have this same problem. When brokers restarted ,consumer con't get message.we use 1.4.3 version. How to solve this problem?

Ronniexie avatar Dec 01 '18 02:12 Ronniexie

Can you try 1.4.4?

On Fri, Nov 30, 2018, 6:31 PM Ronniexie <[email protected] wrote:

we alse have this same problem. When brokers restarted ,consumer con't get message.we use 1.4.3 version. How to solve this problem?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dpkp/kafka-python/issues/1477#issuecomment-443392230, or mute the thread https://github.com/notifications/unsubscribe-auth/AAzetLjtt0gdDIGl0MNe7yu6w_qIaI91ks5u0eoagaJpZM4Teu6m .

dpkp avatar Dec 01 '18 02:12 dpkp