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

Design & implement a buffered producer that allows users to queue events to be sent with implicit batching that happens behind the scenes #17699

Closed
Tracked by #15972
chradek opened this issue Sep 15, 2021 · 0 comments · Fixed by #18590
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. Event Hubs

Comments

@chradek
Copy link
Contributor

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

@ghost ghost added the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Sep 15, 2021
@chradek chradek added Client This issue points to a problem in the data-plane of the library. Event Hubs labels Sep 15, 2021
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Sep 15, 2021
@chradek chradek added this to the [2021] October milestone Sep 15, 2021
@ramya-rao-a ramya-rao-a assigned deyaaeldeen and unassigned chradek Oct 22, 2021
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-js that referenced this issue Feb 15, 2022
Swagger correctness fix: add location property to RedisPatchSchedule and update response examples (Azure#17699)

Co-authored-by: Kanchan Joshi <[email protected]>
@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
None yet
Development

Successfully merging a pull request may close this issue.

3 participants