tzssangglass commented on issue #6805:
URL: https://github.com/apache/apisix/issues/6805#issuecomment-1108266763

   > i have to create the 20 routes duplicatly, event if they could reuse the 
configuration in the service(with same plugins) they belong to.
   
   for this, you can use plugin-config to reuse the same plugin config, see : 
https://github.com/apache/apisix/blob/master/docs/en/latest/architecture-design/plugin-config.md
   
   > if the 20 routes could belong to different service, i just need to create 
2 different service, rather than another 20 routes.
   
   As I said above, binding the same plugin configuration to different services 
is not a reason to have route bind multiple services, it's putting the cart 
before the horse. service is an abstraction of route.


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