Reputation: 153
I know that for ActiveMQ we can use JMX to retrieve information about connections to the queue.
For Amazon SQS, how do we get the number of concurrent consumers listening on the queue?
Upvotes: 1
Views: 4358
Reputation: 36103
There is no built-in method to determine who is consuming or how many consumers there are listening for SQS messages.
You will have to create your own method.
You could use CloudWatch to post metrics about listeners listening to your SQS queue(s). Once you have the metrics, you would use those metrics to determine the number of consumers there are.
Upvotes: 2