adonisjs / adonisjs/transmit

Get list of connected clients for channel

Open
#36 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
87
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Package version

2.0.2

Describe the bug

Is it possible to get list of all connected clients for specific channel in PM2 env with multiple nodes and Redis transport?

Something like this only returns local clients on single node:

const subscribers = transmit.getManager().findByChannel('users')

Reproduction repo

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing transmit.getManager().findByChannel('users') and the Redis transport behavior in a PM2 multi-node setup. Determine how connected clients are represented across nodes and define what a channel-wide client list should return; done means the behavior is implemented or clearly documented for multiple nodes.

Written by the indexing model from the issue text.

Assessment

Tech stack
redis, typescript
Domain
backend, distributed-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.