Netflix / zuul

Zuul is a gateway service that provides dynamic routing, monitoring, resiliency, security, and more.
Apache License 2.0
13.54k stars 2.39k forks source link

How to make zuul support sseEmitter or server send event? #381

Closed LZS1991 closed 6 years ago

LZS1991 commented 6 years ago

I want to use server send event in the microservice A,and i build an microservice B by using zuul to provide gateway. So how to make zuul support sseEmitter or server send event?

artgon commented 6 years ago

It's not supported in Zuul 1.x.

LZS1991 commented 6 years ago

Then is there other way to act like server send event when i use zuul?

punkstarman commented 6 years ago

It's nice to know that the current version of Zuul doesn't support SSE.

What would be even nicer is to know whether support could be added in the foreseeable future.

WebSockets seem to be slated for 2.0. In my opinion, SSE fit better with a microservices architecture than WebSockets.

artgon commented 6 years ago

@punkstarman Yes, we are planning to open source Websocket and SEE support in Zuul 2.0.

dvlreddy commented 6 years ago

Hi artgon, Happy to hear that release plan of Zuul 2.0 i am looking forward to know the release date, so that i can plan my migration based on that, is there any fix that will make websocket and sse enabled with Zuul 1.0 available Best Regards, Lakshman.

xueyuancoming commented 4 years ago

Why is sse push delayed for nearly 20s in version 2.2.3 of zuul

A1X71 commented 3 years ago

As i know ,the sse based on the HTTP protocol. What did zuul block the communication.