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] Design and implement a buffered producer client #24156

Closed
chradek opened this issue Sep 15, 2021 · 0 comments
Closed

[Event Hubs] Design and implement a buffered producer client #24156

chradek opened this issue Sep 15, 2021 · 0 comments
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. Event Hubs
Milestone

Comments

@chradek
Copy link

chradek commented Sep 15, 2021

Summary

Publishing events using the EventHubProducerClient is optimized for high and consistent throughput scenarios where an application would like to assert control over collecting events into batches and the decision of when those batches are sent to Event Hubs. Developers are expected to build and manage batches according to the needs of their application, while taking into account the constraints that Event Hubs places on which events may be batched together. This allows developers to prioritize trade-offs between ensuring batch density, enforcing strict ordering of events, and publishing on a consistent and predictable schedule.

Feedback from developers has indicated that this approach quickly becomes complicated in real-world applications and demands applications bear the burden of that complexity. A frequent ask is for the Event Hubs client library to include functionality to abstract that complexity away from applications and manage batching, concurrency, and sending implicitly. Developers have let us know that they would like a higher-level type similar to the event processor, but for publishing events rather than consuming them. This is the goal for the EventHubBufferedProducerClient.

API Summary

Azure/azure-sdk#3244

@chradek chradek added Event Hubs Client This issue points to a problem in the data-plane of the library. labels Sep 15, 2021
@chradek chradek added this to the [2021] October milestone Sep 15, 2021
@conniey conniey self-assigned this Sep 15, 2021
@ZejiaJiang ZejiaJiang self-assigned this Jan 10, 2022
@conniey conniey modified the milestones: [2022] February, [2022] March Mar 2, 2022
@conniey conniey modified the milestones: [2022] March, [2022] April Mar 15, 2022
@ZejiaJiang ZejiaJiang modified the milestones: [2022] April, [2022] May Apr 13, 2022
@conniey conniey modified the milestones: [2022] May, [2022] July May 20, 2022
@conniey conniey moved this to In Progress in Azure SDK for Event Hubs Jun 29, 2022
Repository owner moved this from In Progress to Done in Azure SDK for Event Hubs Dec 9, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 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
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants