lua-resty-kafka
lua-resty-kafka copied to clipboard
kafka restart , lua kafka product send err, nginx must be reload manually
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 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.
maybe i got this problem now ,ill check it
@jaywayjayway @tonyC2016 what the problem? how fix it?
I got this problem too. and it solved after reload nginx
我也遇到了这个问题。手动重新启动了 nginx 恢复的。
same promlem