Need help with spring-cloud-netflix-zuul-websocket?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

132 Stars 73 Forks Apache License 2.0 60 Commits 17 Opened issues


Zuul reverse proxy web socket support

Services available


Need anything else?

Contributors list

# 553,647
5 commits
# 650,744
1 commit


A simple library to enable Zuul reverse proxy web socket support in spring applications.


spring-cloud-netflix-zuul-websocket is available from Maven Central


Who is this for?

This is for anyone using Spring Netflix Zuul to proxy requests to back-ends which supports web sockets but the proxy layer does not. Netflix Zuul does not natively support web sockets.

How do I use this?

Enable it like so:

public class ProxyApplication {
    public static void main(String[] args) {, args);

Then in your spring application properties(e.g application.yml)

  port: 7078

zuul: routes: hello: path: /** url: http://localhost:7079 customSensitiveHeaders: true ws: brokerages: hello: end-points: /ws brokers: /topic destination-prefixes: /app

With this you should have web sockets to your back-end service working correctly.

Checkout this demo

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.