[azservicebus] Better ReceiveAndDelete behavior when receiving then closing the link #24078
Open
1 of 3 tasks
Labels
Client
This issue points to a problem in the data-plane of the library.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
Service Bus
When doing this pattern, with ReceiveAndDelete links, you can lose messages even if you do everything right:
The problem here is if there are any excess credits after ReceiveMessages finishes (for instance, if you ask for 100, but only get 3) then those messages will be cached, and lost when Close() is called.
I think we've got two solutions ahead of us, and I've already rejected one of them, making the rest of this process pretty easy:
So, we have a few work items for this:
The text was updated successfully, but these errors were encountered: