doujiang24 / lua-resty-kafka

Lua kafka client driver for the Openresty based on the cosocket API
BSD 3-Clause "New" or "Revised" License
801 stars 274 forks source link

任意一台broker挂了,整个消息就发送失败了? #81

Open mocking3 opened 4 years ago

doujiang24 commented 4 years ago

nope, it shouldn't, need more detail info if you need help here.

iorilchen commented 4 years ago

一台kafka broker机器重启后。 lua报错: [error] 6944#0: *828129796 [lua] producer.lua:258: buffered messages send to kafka err: not found broker, retryable: true, topic: clientlog, partition_id: 9, length: 1, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:8082

iorilchen commented 4 years ago

重启openresty后恢复

mocking3 commented 4 years ago

消息总是会往挂掉的分区上发

lephee commented 4 years ago

_metadata_cache