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

   ### Description
   
   Hello,
   
   Now I found "lua-resty-kafka" lib had supported set `sasl_config` in the 
client.
   docs: https://github.com/doujiang24/lua-resty-kafka#new
   
   So I want to support set `sasl_config` in kafka-logger plugin, then we can 
send logs to brokers that enable authentication.
   Like: 
   
   ```
   {
       "kafka-logger":{
           "brokers":[
               {
                   "host":"127.0.0.1",
                   "port":9092,
                   "sasl_config":{
                       "mechanism":"PLAIN",
                       "user":"USERNAME",
                       "password":"PASSWORD"
                   }
               }
           ],
           "kafka_topic":"test2",
           "key":"key1",
           "batch_max_size":1,
           "name":"kafka logger"
       }
   }
   ```


-- 
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