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

Add support to clear Service Bus session state #2548

Open
Archomeda opened this issue Jun 24, 2024 · 0 comments
Open

Add support to clear Service Bus session state #2548

Archomeda opened this issue Jun 24, 2024 · 0 comments
Labels

Comments

@Archomeda
Copy link

Description

Service Bus session state support was added in #2102, but clearing the state is not yet supported.

As mentioned there as well, the Azure Service Bus SDK and the previous functions in-process SDK both support using SetSessionStateAsync(null) (or equivalent). The key is using null to clear the state, which is not possible with the current isolated SDK.

Can this be added to the isolated SDK?
There's no full support for session state management until clearing is possible (there will be an ever increasing amount of dangling session states). Workarounds to try setting the state via the Azure Service Bus client SDK models itself is also not possible, due to the state locking mechanism inside the client.

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

No branches or pull requests

1 participant