dhiaayachi / consul

Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.
https://www.consul.io
Other
0 stars 0 forks source link

[NET-5075] Implement mesh gateway mode for explicit destinations #1254

Open dhiaayachi opened 1 month ago

dhiaayachi commented 1 month ago

Description

When a destination resides in a different partition from the source and mesh gateway mode is set to local or remote, the mesh gateway's service endpoints should be used for the destination cluster instead of the destination's own endpoints.

The results in outgoing requests targeting the appropriate mesh gateway (either local or remote) but sending along the same SNI + ALPN that was previously used. The mesh gateway will then forward the request to the appropriate place based on the SNI+ALPN combination.

Testing & Reproduction steps

Links

PR Checklist