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

Rework ReceiveLinkHandler to enable delivery buffer draining upon arrival on Qpid thread #33701

Closed
anuchandy opened this issue Feb 23, 2023 · 2 comments
Assignees
Labels
amqp Label for tracking issues related to AMQP Azure.Core azure-core Event Hubs Service Bus

Comments

@anuchandy
Copy link
Member

anuchandy commented Feb 23, 2023

Rework ReceiveLinkHandler to

  1. Enable delivery buffer draining upon arrival on Qpid thread.
  2. Expose Flux of Message instead of Flux of Delivery.
  3. As a consequence of the drain on delivery, the
    decodeDelivery in ReactorReceiver and ServiceBusReactorReceiver will be removed.

Benefits: Reduce thread hopping in Event Hubs and Service Bus and fixes an edge case of SB receiver hanging.


Impl time notes: We may need a new internal ReceiveLinkHandler2 to co-exist with the current ReceiveLinkHandler for the short term while removing legacy ReceiveLinkHandler dependency over multiple iterations.

@anuchandy
Copy link
Member Author

This is implemented in the PR #34854

@anuchandy
Copy link
Member Author

@github-actions github-actions bot locked and limited conversation to collaborators Apr 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
amqp Label for tracking issues related to AMQP Azure.Core azure-core Event Hubs Service Bus
Projects
Status: Done
Development

No branches or pull requests

1 participant