Sample Spring Cloud Gateway Application
Sample Spring Cloud Gateway Application
Sample that shows a few different ways to route and showcases some filters.
Run DemogatewayApplication
…In one terminal, run websocket server:
wscat --listen 9000In another, run a client, connecting through gateway:
wscat --connect ws://localhost:8080/echotype away in either server and client, messages will be passed appropriately.
Make sure redis is running on localhost:6379 (using brew or apt or docker).
Then run DemogatewayApplicationTests. It should pass which means one of the calls received a 429 TO_MANY_REQUESTS HTTP status.
No open issues yet, or sync has not completed.