lua-resty-kafka icon indicating copy to clipboard operation
lua-resty-kafka copied to clipboard

kafka restart , lua kafka product send err, nginx must be reload manually

Open jaywayjayway opened this issue 8 years ago • 6 comments
trafficstars

HI,ALL:

when I restart my kafka cluster, My resty kafka product will can't send message. I mush reload my nginx then it will be OK . How to do resty kafka product ,so it will be automatically check the kafka cluser .

producer.lua:258: buffered messages send to kafka err: not found broker, retryable: true, topic: test, partition_id: 0, length: 219, context: ngx.timer

jaywayjayway avatar Dec 07 '16 05:12 jaywayjayway

@jaywayjayway Since the kafka cluster restarted, there will be a while for both of kafka and resty.kafka to start over. Can you confirm it still can't send messages after some time, like three minute?

I'm not sure how does you restarted your kafka cluster, it sounds unreasonable to me.

doujiang24 avatar Dec 08 '16 15:12 doujiang24

maybe i got this problem now ,ill check it

tonyC2016 avatar May 23 '17 10:05 tonyC2016

@jaywayjayway @tonyC2016 what the problem? how fix it?

iamsecure avatar Jun 18 '17 10:06 iamsecure

I got this problem too. and it solved after reload nginx

marlondu avatar Feb 08 '18 08:02 marlondu

我也遇到了这个问题。手动重新启动了 nginx 恢复的。

xiaooloong avatar Apr 20 '19 08:04 xiaooloong

same promlem

JoveYu avatar Aug 27 '19 03:08 JoveYu