crazyMonkey1995 opened a new issue, #8555:
URL: https://github.com/apache/apisix/issues/8555

   ### Current Behavior
   
   After kafka restarts (for some reason), kafka-logger no longer reports logs.
   I think the problem may be that the kafka client does not have 
refresh_interval related configuration items:
   
   
![image](https://user-images.githubusercontent.com/21658981/209266514-14f3db33-0031-4de7-be4d-73db8ad90817.png)
   
   
![image](https://user-images.githubusercontent.com/21658981/209266539-0e41cfda-430c-4012-8a67-02ce300b001c.png)
   
   
   ### Expected Behavior
   
   kafka-logger retry or refresh_interval
   
   ### Error Logs
   
   2022/12/22 23:10:59 [error] 83#83: *395903269 [lua] producer.lua:268: 
buffered messages send to kafka err: not found broker, retryable: true, topic: 
apisix-access-log-kafka-logger, partition_id: 31, length: 34, context: ngx.timer
   2022/12/22 23:10:58 [error] 83#83: *395902835 [lua] producer.lua:268: 
buffered messages send to kafka err: not found broker, retryable: true, topic: 
apisix-access-log-kafka-logger, partition_id: 31, length: 200, context: 
ngx.timer, client: 77.235.129.253, server: 0.0.0.0:80
   
   ### Steps to Reproduce
   
   1. enable kafka-logger
   2. restart kafka broker
   
   ### Environment
   
   - APISIX version (run `apisix version`): 2.15.0
   - Operating system (run `uname -a`):
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`):
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`):
   - APISIX Dashboard version, if relevant:
   - Plugin runner version, for issues related to plugin runners:
   - LuaRocks version, for installation issues (run `luarocks --version`):
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to