You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/02/22 10:59:37 UTC

[GitHub] [apisix] sandy420 opened a new issue #6422: request help: After writing data to different KFK clusters in the custom plugin, kafka-logger does not work properly

sandy420 opened a new issue #6422:
URL: https://github.com/apache/apisix/issues/6422


   ### Issue description
   
   When a custom plugin is added to apisix, resty.kafka.producer is referenced in the plugin to record a specific log, which causes kafka-logger to fail to work properly. From the log information, it is found that the same topic used by both plugins, but The custom plugin and kafka-logger are configured with different topic names, whether only one producer can exist in the plugin or resty.
   
   @tzssangglass @membphis @spacewander @moonming 
   
   ### Environment
   
   - apisix version (cmd: `apisix version`):2.10.1
   - OS (cmd: `uname -a`):centos 7
   - OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):1.19.9.1
   - etcd version, if have (cmd: run `curl http://127.0.0.1:9090/v1/server_info` to get the info from server-info API):
   - apisix-dashboard version, if have:
   - the plugin runner version, if the issue is about a plugin runner (cmd: depended on the kind of runner):
   - luarocks version, if the issue is about installation (cmd: `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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] membphis commented on issue #6422: request help: After writing data to different KFK clusters in the custom plugin, kafka-logger does not work properly

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #6422:
URL: https://github.com/apache/apisix/issues/6422#issuecomment-1047719096


   pls make a try with the latest version `2.12.1`


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] tzssangglass commented on issue #6422: request help: After writing data to different KFK clusters in the custom plugin, kafka-logger does not work properly

Posted by GitBox <gi...@apache.org>.
tzssangglass commented on issue #6422:
URL: https://github.com/apache/apisix/issues/6422#issuecomment-1048376389


   If you need to regenerate the kafka producer, change the `cluster_name`.
   
   ref: https://github.com/apache/apisix/blob/master/docs/en/latest/plugins/kafka-logger.md


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] sandy420 commented on issue #6422: request help: After writing data to different KFK clusters in the custom plugin, kafka-logger does not work properly

Posted by GitBox <gi...@apache.org>.
sandy420 commented on issue #6422:
URL: https://github.com/apache/apisix/issues/6422#issuecomment-1048614987


   > If you need to regenerate the kafka producer, change the `cluster_name`.
   > 
   > ref: https://github.com/apache/apisix/blob/master/docs/en/latest/plugins/kafka-logger.md
   
   ok,tks


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix] sandy420 closed issue #6422: request help: After writing data to different KFK clusters in the custom plugin, kafka-logger does not work properly

Posted by GitBox <gi...@apache.org>.
sandy420 closed issue #6422:
URL: https://github.com/apache/apisix/issues/6422


   


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org