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

Crashing on receiving connection #2

Open
ericzon opened this issue Apr 25, 2018 · 0 comments
Open

Crashing on receiving connection #2

ericzon opened this issue Apr 25, 2018 · 0 comments

Comments

@ericzon
Copy link

ericzon commented Apr 25, 2018

I would like to connect socket.io with kafka, but when is configured with this adapter, on receiving a new connection it crashes:

this.adapter.addAll(this.id, rooms, function(err){
               ^

TypeError: this.adapter.addAll is not a function
    at Socket.join (/.../node_modules/socket.io/lib/socket.js:248:16)

I've tried with redis adapter and it works ok.

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant