SSE Subscriptions from within the istio service mesh

Hi Folks,
We are looking at a situation where a service that is scaled out and deployed with several replicas is subscribing for Server Sent Events.
The challenges that we are facing are:

  • Although several replicas need to subscribe, there should only be one subscription issued to the SSE server
  • When events are sent, it will be redirected to the replicas in succession but those replicas will not share the same subscription, if they subscribe at all in the first place.

One solution would consist in performing the subscription from a service that is not replicated but that would defeat the original purpose to achieve scaling, progressive deployment, etc.

I guess these are typical issues faced when working with a service mesh, but I would like to find out what is the best way to achieve this with istio.

Thank you all,
Alex