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

[Event Hubs] Review AMQP link lifecycle for Receiver #3176

Closed
ramya-rao-a opened this issue May 23, 2019 · 2 comments
Closed

[Event Hubs] Review AMQP link lifecycle for Receiver #3176

ramya-rao-a opened this issue May 23, 2019 · 2 comments
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. Event Hubs
Milestone

Comments

@ramya-rao-a
Copy link
Contributor

As per the API proposal in #2718 (comment), we will now have a createReceiver() method on the Event Hub Client that returns a receiver. #3175 tracks the work to implement this change.

This issue is to review the lifecycle of the underlying AMQP link

In the previous design, links never got re-used. At the end of a streaming receiver or batching receiver operation (receive and receiveBatch), the underlying AMQP link was closed. In the new design

  • We need to share the AMQP receiver link between receive, receiveBatch and getEventIterator such that I should be able to use say receiveBatch and then getEventIterator or receive and the second call should start receiving messages from where the first left off
  • Ensure multiple receivers can be created and work as expected in parallel
@ramya-rao-a ramya-rao-a added Client This issue points to a problem in the data-plane of the library. Event Hubs labels May 23, 2019
@ramya-rao-a ramya-rao-a added this to the Sprint 153 milestone May 23, 2019
@ramya-rao-a
Copy link
Contributor Author

ramya-rao-a commented May 29, 2019

Below are the break up of tasks:

@ramya-rao-a
Copy link
Contributor Author

Closing this issue as separate github issues have been created to track the individual tasks

@ramya-rao-a ramya-rao-a self-assigned this May 30, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library. Event Hubs
Projects
None yet
Development

No branches or pull requests

1 participant