socket.io-redis-adapter
socket.io-redis-adapter copied to clipboard
Adapter to enable broadcasting of events to multiple separate socket.io server nodes.
Receiving "Callbacks are not support when broadcasting" when using multiple webapps via socket.emit
We are using socket io callbacks when sending messages to particular connections. (We use heroku for hosting) **Server emit code looks like** ```js const sockets = await this.deviceSockets.in(channelName).fetchSockets() for (const...
I have multiple nodejs services, all of which are connected to the same socket.io-redis-adapter. I want to be able to send messages between these services with acknowledgement using serverSideEmit. My...
"socket.io-redis-emitter": io.to(id).emit(eventName); "socket.io-redis-adapte": await io.of('/').adapter.remoteJoin('', 'room1');
Getting the following error trying to get redis working with socketio and express. TypeError: socket.client.writeToEngine is not a function at /server/node_modules/@socket.io/redis-adapter/node_modules/socket.io-adapter/dist/index.js:119:31 Few others here have also flagged this, but I...
I have a local setup with Redis and some application nodes. I have another redis client that is snooping on the channels that the adapter is using. Whenever I'm snooping...
Closes #406 participantChannel is a special channel used only to keep track of participants. No data goes through it. This prevents bugs associated with having non-participating subscribers on the channels...
Hi, Today, a socket.io server (2.3.0) which is using this Redis adapter (5.4.0), crashed unexpectedly with the following error and stacktrace: ``` TypeError: Cannot read property 'clients' of undefined at...
Hi, I have a node js application and at this application I use socket.io-redis and today I faced with this error. Does anyone face this error before ? And If...
Hello, How can I update redis URL on fly ? I use: **node** 10.16.0 **express** 4.17.1 **socket.io** 2.3.0 **socket.io-redis** 5.2.0 **socket.io-client** 2.3.0 I try to replace with a new Adaptater...