Get list of connected clients for channel
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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