apache / apisix-java-plugin-runner

APISIX Plugin Runner in Java
https://apisix.apache.org/
Apache License 2.0
126 stars 95 forks source link

request help: I would like to know if this plugin supports the use of two or more interceptors simultaneously in a single jar? #305

Open yijieshusheng-git opened 4 months ago

yijieshusheng-git commented 4 months ago

Issue description

I would like to know if this plugin supports the use of two or more interceptors simultaneously in a single jar? I have two custom services that need to be placed in a custom plugin, but I found that an API gateway cannot support two or more custom plugins at the same time. Therefore, I want to put my current two services in one Java plugin. I have tested it and it seems that this feature is not supported. How can I solve this problem? Thank you very much for your answer.(我有两个自定义的服务需要放到自定义插件中,但是我发现一个apisix网关无法同时支持两个以上的自定义插件,所以我想把我目前的两个服务放到一个java插件中,我测试了,好像不支持这个功能,请问这个如何解决呢?非常感谢回答。)

Environment

arm64 Open jdk 11