Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The redis support is incompatible with the socket.io-redis/emitter javascript one #68

Closed
gcbirzan opened this issue Jan 30, 2017 · 1 comment

Comments

@gcbirzan
Copy link

The 'protocol' is 'described' (read implemented) in this file. It would be useful to both handle messages coming from socket.io-emitter, and be able to emit towards socket.io-redis.

@miguelgrinberg
Copy link
Owner

Is there really a use case for this? All the JS emitter does is collect all the arguments of the emi, put them in a JS object, then serialize it with msgpack and publish it on a given channel. If you want to use Python to emit to a Node Socket.IO server, using this project would be overkill, since all you need is to publish a dict with 3-4 values to a Redis channel. And the reverse holds true as well. If you wanted to emit from JS (or any other language) to a Python Socket.IO server, it would be fairly easy to publish on the Redis channel the required data.

Is there a use case that I'm missing?

@miguelgrinberg miguelgrinberg closed this as not planned Won't fix, can't repro, duplicate, stale Jan 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants