You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "behzade (via GitHub)" <gi...@apache.org> on 2025/03/16 07:31:19 UTC

[I] help request: traffic-split plugin but with services instead of upstreams [apisix]

behzade opened a new issue, #12052:
URL: https://github.com/apache/apisix/issues/12052

   ### Description
   
   Hi. I'm trying to setup traffic split plugin to help us gradually release new versions of APIs that are currently hitting our legacy services. Our current apisix setup uses apisix services for each backend service which bundles the upstream with a few plugins for authentication and other necessities. But with traffic split I can only route traffic to a upstream and not a service.
   
   I wanted to ask if there is currently a way to do this and if not how should the external plugin be setup to be ran before routing so the request can hit a different service that what it was originally routed for.
   
   ### Environment
   
   - APISIX 3.11
   - Standalone deployment


-- 
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.apache.org

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


Re: [I] help request: traffic-split plugin but with services instead of upstreams [apisix]

Posted by "behzade (via GitHub)" <gi...@apache.org>.
behzade commented on issue #12052:
URL: https://github.com/apache/apisix/issues/12052#issuecomment-2753529225

   it does contain an upsteam and upsteam id can be used but doing so would bypass the plugins set up for the specific service
   
   Get Outlook for Android<https://aka.ms/AAb9ysg>
   ________________________________
   From: Baoyuan ***@***.***>
   Sent: Wednesday, March 26, 2025 11:31:58 AM
   To: apache/apisix ***@***.***>
   Cc: Behzad ***@***.***>; Author ***@***.***>
   Subject: Re: [apache/apisix] help request: traffic-split plugin but with services instead of upstreams (Issue #12052)
   
   
   Does your service contain an upstream? Is it possible to use the id of this upstream in the traffic split plugin?
   
   —
   Reply to this email directly, view it on GitHub<https://github.com/apache/apisix/issues/12052#issuecomment-2753525114>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AD34RHWUGJLIXNHTLGQJ74L2WJNHLAVCNFSM6AAAAABZDLFQWGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONJTGUZDKMJRGQ>.
   You are receiving this because you authored the thread.Message ID: ***@***.***>
   
   [Baoyuantop]Baoyuantop left a comment (apache/apisix#12052)<https://github.com/apache/apisix/issues/12052#issuecomment-2753525114>
   
   Does your service contain an upstream? Is it possible to use the id of this upstream in the traffic split plugin?
   
   —
   Reply to this email directly, view it on GitHub<https://github.com/apache/apisix/issues/12052#issuecomment-2753525114>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AD34RHWUGJLIXNHTLGQJ74L2WJNHLAVCNFSM6AAAAABZDLFQWGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONJTGUZDKMJRGQ>.
   You are receiving this because you authored the thread.Message ID: ***@***.***>
   


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


Re: [I] help request: traffic-split plugin but with services instead of upstreams [apisix]

Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop commented on issue #12052:
URL: https://github.com/apache/apisix/issues/12052#issuecomment-2753525114

   Does your service contain an upstream? Is it possible to use the id of this upstream in the traffic split plugin?


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


Re: [I] help request: traffic-split plugin but with services instead of upstreams [apisix]

Posted by "Baoyuantop (via GitHub)" <gi...@apache.org>.
Baoyuantop commented on issue #12052:
URL: https://github.com/apache/apisix/issues/12052#issuecomment-2756260505

   What type of plugin is it and what function is it responsible for?


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