Zuul with web socket

后端 未结 3 1135
陌清茗
陌清茗 2021-01-01 02:31

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

相关标签:
3条回答
  • 2021-01-01 02:56

    We have created a zuul proxy web socket support feature to resolve this issue. I will be creating a pull request in spring cloud netflix soon. The library and demo are currently hosted in github.

    0 讨论(0)
  • 2021-01-01 03:03

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

    0 讨论(0)
  • 2021-01-01 03:07

    You can use spring-cloud-starter-gateway instead of zuul. WebSocket is supported and it's a much better developer experience since it's tightly integrated with Spring.

    0 讨论(0)
提交回复
热议问题