nats-io / nats-streaming-server

NATS Streaming System Server
https://nats.io
Apache License 2.0
2.51k stars 283 forks source link

Proxy from websocket to Nats-streaming #949

Open Qhodok opened 4 years ago

Qhodok commented 4 years ago

I can't found document how to connect websocket to Nats-Streaming, Anybody have doc to read?

ColinSullivan1 commented 4 years ago

@Qhodok , thank you for using NATS. At the moment, we don't support websocket connections directly to the NATS server or NATS streaming server. Websocket support is on our roadmap, coming soon.

Here are some user contributed open source projects that proxy websockets into NATS:

Also, here is an article that describes using NATS behind a websocket proxy. https://medium.com/@ribice/building-a-live-chat-with-go-nats-redis-and-websockets-cb3edbc940ca

I hope this helps, and certainly let us know if you have any specific requirements around a websocket connection into NATS - we'd like to hear.

Qhodok commented 3 years ago

thank @ColinSullivan1 , can't wait for that time