-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Use PostConfigure for InitialOffsetOptions #17778
Conversation
/azp run net - eventhub - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code changes look good, but I'm not familiar enough with the Functions architecture to offer thoughts on the PostConfigure
use.
} | ||
|
||
[Test] | ||
public void InitializeFromCodeRespectsFinalOffsetOptions_FromStart() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice.
FYI @jsquire This seems to be that same Claims issue where we may want to add a delay after resource creation. I can add in the same fix that we did for SB if you'd like. |
@JoshLove-msft: Sure looks that way; I've been meaning to steal your work and copy it over but haven't yet. If you'd like to beat me to it, please feel free. |
/azp run net - eventhub - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
Hello @JoshLove-msft! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
PostConfigure ensures that the InitialOffsetOptions will be propagated to the EventProcessorOptions regardless of the ordering used when doing configuration.
PostConfigure ensures that the InitialOffsetOptions will be propagated to the EventProcessorOptions regardless of the ordering used when doing configuration.