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] Processor Event Dispatch Cancellation #22695

Merged
merged 1 commit into from
Jul 16, 2021

Conversation

jsquire
Copy link
Member

@jsquire jsquire commented Jul 16, 2021

Summary

The focus of these changes is to fix the loop responsible for dispatching events to the handler for processing so that it respects cancellation when the processor signals the associated token. Currently, the loop will dispatch all events in the batch to the handler, potentially causing duplicate processing and checkpoint interleaving.

@jsquire jsquire added Event Hubs Client This issue points to a problem in the data-plane of the library. labels Jul 16, 2021
@jsquire jsquire added this to the [2021] August milestone Jul 16, 2021
@jsquire jsquire self-assigned this Jul 16, 2021
The focus of these changes is to fix the loop responsible for dispatching
events to the handler for processing so that it respects cancellation when
the processor signals the associated token.  Currently, the loop will dispatch
all events in the batch to the handler, potentially causing duplicate processing
and checkpoint interleaving.
@jsquire jsquire force-pushed the eventhubs/respect-cancellation branch from 6826289 to 8fadb27 Compare July 16, 2021 21:26
@jsquire jsquire merged commit 51212bb into Azure:main Jul 16, 2021
@jsquire jsquire deleted the eventhubs/respect-cancellation branch July 16, 2021 21:49
azure-sdk pushed a commit to azure-sdk/azure-sdk-for-net that referenced this pull request Mar 3, 2023
Azure SignalR - Adding new api-version 2023-02-01 (Azure#22695)

* copy from existing api-version before adding new one

* add new api-version 2023-02-01

* remove minLength

* add back minLength
azure-sdk pushed a commit to azure-sdk/azure-sdk-for-net that referenced this pull request Mar 3, 2023
Azure SignalR - Adding new api-version 2023-02-01 (Azure#22695)

* copy from existing api-version before adding new one

* add new api-version 2023-02-01

* remove minLength

* add back minLength
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Client This issue points to a problem in the data-plane of the library. Event Hubs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants