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
Proposed change
Add support for queue names in nats bench
Similar behaviour for:
Use case
Benchmarking scenarios where load distribution using named queues is needed.
Contribution
No response