Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Zuul with web socket

We currently have a direct Websocket connection that goes to a backend webservice from our UI Application. Now when we are trying to do the same through Zuul(ApiGateway) we are not able to connect to backend service We have gone through below issue that does not solve our problem https://github.com/spring-cloud/spring-cloud-netflix/issues/163

but it gives me an alternative in below link https://jmnarloch.wordpress.com/2015/11/11/spring-cloud-sock-js-stomp-zuul-no-websockets/ I am considering it as a last solution.

My other Question is, if we want to use websocket protocol with zuul what changes we need to perform in zuul as I am new to websocket because we know spring support websocket and Zuul is a spring based service (Correct if I am wrong)

UPDATE

This feature wont be available with zuul 2 as of my knowledge. Zuul 2 will not be incorporated into Spring Cloud. See spring cloud gateway for websockets support. check this out(https://github.com/spring-cloud/spring-cloud-netflix/issues/163)

like image 296
Brijan Elwadhi Avatar asked Oct 19 '22 02:10

Brijan Elwadhi


1 Answers

Zuul 1 is unable to support websockets. Zuul 2 will support it https://github.com/Netflix/zuul/issues/112.

like image 70
spencergibb Avatar answered Oct 21 '22 00:10

spencergibb