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

   ### Current Behavior
   
   batch-processor-manager.lua:60 will write kafka's password to log
   
   ### Expected Behavior
   
   Don't log password
   
   ### Error Logs
   
   2023/08/10 07:53:03 [warn] 10#10: *11078359 [lua] 
batch-processor-manager.lua:60: removing batch processor stale object, conf: 
{"include_resp_body":false,"required_acks":1,"cluster_name":1,"producer_batch_num":200,"producer_batch_size":1048576,"producer_max_buffering":50000,"producer_time_linger":1,"inactive_timeout":5,"include_req_body":false,"name":"kafka
 
logger","meta_format":"default","retry_delay":1,"_meta":{"disable":false},"kafka_topic":"persistent://apisix/pro/accesslog","producer_type":"async","batch_max_size":1000,"brokers":[{"host":"127.0.0.1","sasl_config":{"password":**"token:password"**,"mechanism":"PLAIN","user":"apisix/pro"},"port":9092}],"timeout":3,"max_retry_count":0,"buffer_duration":60,"meta_refresh_interval":30},
 context: ngx.timer, client: 10.1.226.250, server: 0.0.0.0:9080
   
   ### Steps to Reproduce
   
   1. Deploy apisix with bitnami' helm
   2. config kafka logger with sasl global
   
   ### Environment
   
   - APISIX version (run `apisix version`): 3.4.1
   - 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