Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetMessageSessions in a queue #275

Closed
CoenraadS opened this issue Mar 28, 2019 · 3 comments
Closed

GetMessageSessions in a queue #275

CoenraadS opened this issue Mar 28, 2019 · 3 comments

Comments

@CoenraadS
Copy link

Description

The other service bus package, webjobs.service bus has a function called GetMessageSessions() which will list all sessions of a queue.

This package does not have this, and I don't want to iterate over all messages in a queue to list the session id's.

@EldertGrootenboer
Copy link
Contributor

We have opened an investigation task for this in our backlog to check the possibilities of exposing this, and will update this issue when we have more information.

@EldertGrootenboer
Copy link
Contributor

Thank you for your feedback on this item, it helps us in our efforts to continuously prioritize the different requests we get from all our various feedback channels. We have added this feature in our backlog, however we currently don't have an ETA on when development might start on this. For now, to help us give this the right priority, it would be helpful to see others vote and support this feature, as well as explain their scenarios.

@miqm
Copy link

miqm commented Mar 18, 2024

@EldertGrootenboer as for my scenario I'm using azure functions with keda on kubernetes. Session-enabled queue allows me to make a FIFO queue and ensure only one message is processed for a particular device (device ID is my session ID). In fact the order does not matter that much as scaling limitation. However devices will grow over time and the load on them is not equal. Therefore I'd like to have a dynamic way of scaling horizontally the workload.
What I'd need is a way to get number of sessions that have at least one active message. Although currently I can get list of sessions via AMQP command, I don't know how many (or if any) messages are waiting which can lead to unnecessary scaling.

Please re-prioritise implementing this functionality in the service bus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants