Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Mar 21, 2024 · 1 comment

Comments

@yijieshusheng-git
Copy link

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

  • your apisix-java-plugin-runner version
    0.4.0
@Jazzylol
Copy link

你说的两个服务是两个自定义插件的实现类 ? 那是可以的啊,name() 方法中返回的字符串取不同就可以了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants