cod-soap opened a new issue, #10064:
URL: https://github.com/apache/apisix/issues/10064

   ### Description
   
   ### Is Multiple plugin-runners Plugin Runner ?
   
   My team is a multi programming language environment and plan to do some work 
on apisix.
   We want to develop Plugin Runners with different programming language,such 
as golang ,java ,python.
   Look up the docs, I do not find a way to config multi Plugin Runner to run 
them in  debug mode or deployment mode.
   This is my attempt to configure multiple steps:
   1.debug mode:
   ```
   ext-plugin:
     path_for_test: 
       - /tmp/runner.sock
       - /tmp/runner1.sock
   ```
   2.deployment mode:
   ```
   ext-plugin:
     # path_for_test: /tmp/runner.sock
     cmd:
       - ["/path/to/apisix-go-plugin-runner/go-runner", "run"]
       - ["/path/to/apisix-go-plugin-runner/go-runner1", "run"]
   ```
   
   BUT,All attempts will result in apisix loading plugin errors when processing 
requests.
   
   By reading the source code, It seems that multiple configurations are not 
supported:
   
![image](https://github.com/apache/apisix/assets/25627194/5ce6417c-92d7-4992-80fc-e63cd0cd142b)
   
   ###  So I want to confirm if Apisix official does not support configuring 
multiple ?
   
   If developing multiple plugins, is the official recommended best practice to 
use the Lua language instead of Plugin Runner?
   
   Sincerely hope for a reply,that means a lot to us!
   
   
   
   ### Environment
   
   - APISIX version (run `apisix version`):   3.4 
   - Operating system (run `uname -a`):Linux ubuntu 5.15.0-43-generic 
#46-Ubuntu SMP Tue Jul 12 10:30:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): run in docker
   


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