-
Notifications
You must be signed in to change notification settings - Fork 150
Open
Labels
proposalEnhancement idea or proposalEnhancement idea or proposal
Description
Proposed change
Add support for queue names in nats bench
nats bench sub --queue myqueue --clients=5 ---msgs=999 foo
If --queue provided, the 5 clients subscribe with the same queue name, receiving their corresponding share of the foo subject instead of all the messages.
The app stops when the total number of received messages (sum of the 5 subscribers) gets to 999.
Similar behaviour for:
nats bench service serve --queue myqueue --clients=5 --msgs=999 foosvc
Use case
Benchmarking scenarios where load distribution using named queues is needed.
Contribution
No response
Metadata
Metadata
Assignees
Labels
proposalEnhancement idea or proposalEnhancement idea or proposal