apache / apache/apisix

help request: kafka-logger cannot send messages to kafka. it creates topic but cannot send plogs.

Open
#12,804 6 comments 0 reactions 1 assignee Assigned to @AlinsRan View on GitHub
plugin question
Dominant language
Lua
Stars
17.1k
Forks
2.9k
Avg merge
3d 16h
Merged PRs (30d)
63

Description

### Description

kafka-logger does not send to the logs to the kafka. I have tried two different environments.

### Environment

- APISIX version (run `apisix version`): 3.14.1-0
- Operating system (run `uname -a`): kubernetes and ubuntu
- OpenResty / Nginx version (run `openresty -V` or `nginx -V`): 1.27.1.2
- etcd version, if relevant (run `curl http://127.0.0.1:9090/v1/server_info`): etcd Version: 3.6.6
- APISIX Dashboard version, if relevant:
- Plugin runner version, for issues related to plugin runners: embedded
- LuaRocks version, for installation issues (run `luarocks --version`):

2025/12/09 22:30:25 [error] 307575#307575: *2556984 [lua] batch-processor.lua:96: Batch Processor[kafka logger] failed to process entries: failed to send data to Kafka topic: closed, brokers: null, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:9080
2025/12/09 22:30:25 [error] 307575#307575: *2556984 [lua] batch-processor.lua:106: Batch Processor[kafka logger] exceeded the max_retry_count[1] dropping the entries, context: ngx.timer, client: 127.0.0.1, server: 0.0.0.0:9080

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.