2

We created 7 micro-services for our project and all are exposed through zuul proxy.

One of the micro service(Live-dashboard) contains Spring boot reactive stream for live dashboard refresh using (Server sent events).

The reactive stream is working fine through Live Dashboard micro-service direct rest api (http://localhost:8092/live/dashboard).

But stream is not working through zuul proxy (http://localhost:8091/rest/livedashboard/live/dashboard) it is giving normal api response.

Please give suggestions anyone having any ideas, how reactive stream is working through zuul proxy?

Pyla Srenu
  • 125
  • 1
  • 11

1 Answers1

1

If you are using 1.x version of zuul, it does not support server sent events. You can find the thread and the response of the contributor here. As mentioned in the link, It is supported in zuul 2.x versions. So using 2.x versions of zuul might resolve the issue.

Good luck with that.

Amit Pokhrel
  • 282
  • 4
  • 21
  • yes, we are moving to spring cloud gateway instead of zuul. spring cloud gateway supports reactive stream by default. – Pyla Srenu Mar 19 '20 at 13:38