[FEATURE REQ] Get list of active sessions in the specified queue/topic/subscription #25698
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
feature-request
This issue requires a new behavior in the product in order be resolved.
Service Bus
Milestone
Library name
Azure.Messaging.ServiceBus
Please describe the feature.
Is it possible to get list of sessions in the specified queue/topic/subscription?
Use case: scale microservice based on sessions (there are no reasons to scale by CPU or total message count because if there are 1000 messages in single session only then 1 thread will process them all, all other instances will do nothing).
PS: Legacy WindowsAzure.ServiceBus library has such feature
https://docs.microsoft.com/ru-ru/dotnet/api/microsoft.servicebus.messaging.subscriptionclient.getmessagesessionsasync?view=azure-dotnet
The text was updated successfully, but these errors were encountered: