I’m trying to work out if the following is possible using Istio/Envoy. I have an API gateway component and a series of worker pods distributing market data. I need a way for my gateway to understand which distributors have the data being requested downstream. The initial idea I had was to have distributors communicate with gateways directly informing them which pods service which products but I’m wondering can I dynamically define routes using Istio and Envoy to effectively do this job for me?
So for example if a client makes a request for data e.g. BTC, the envoy proxy will know how to dynamically map calls to endpoint
/json/BTC to those distributor nodes with that data. We cannot define these routes upfront statically.