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

Use PostConfigure for InitialOffsetOptions #17778

Merged
2 commits merged into from
Jan 5, 2021

Conversation

JoshLove-msft
Copy link
Member

@JoshLove-msft JoshLove-msft commented Jan 5, 2021

PostConfigure ensures that the InitialOffsetOptions will be propagated to the EventProcessorOptions regardless of the ordering used when doing configuration.

@JoshLove-msft JoshLove-msft requested a review from pakrym January 5, 2021 20:57
@ghost ghost added the Event Hubs label Jan 5, 2021
@JoshLove-msft
Copy link
Member Author

/azp run net - eventhub - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@JoshLove-msft JoshLove-msft requested a review from jsquire January 5, 2021 21:12
Copy link
Member

@jsquire jsquire left a 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()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice.

@JoshLove-msft
Copy link
Member Author

JoshLove-msft commented Jan 5, 2021

FYI @jsquire
https://dev.azure.com/azure-sdk/internal/_build/results?buildId=674246&view=ms.vss-test-web.build-test-results-tab&runId=15794112&resultId=100013&paneView=debug

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.

@jsquire
Copy link
Member

jsquire commented Jan 5, 2021

@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.

@JoshLove-msft
Copy link
Member Author

/azp run net - eventhub - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ghost
Copy link

ghost commented Jan 5, 2021

Hello @JoshLove-msft!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

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 (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit 5d21d6a into Azure:master Jan 5, 2021
annelo-msft pushed a commit to annelo-msft/azure-sdk-for-net that referenced this pull request Feb 17, 2021
PostConfigure ensures that the InitialOffsetOptions will be propagated to the EventProcessorOptions regardless of the ordering used when doing configuration.
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants