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

Update documentation and in-memory checkpoint store sample #7389

Merged
merged 2 commits into from
Jan 14, 2020

Conversation

srnagar
Copy link
Member

@srnagar srnagar commented Jan 13, 2020

Updating some documentation and in-memory checkpoint store implementation to support multiple namespaces.

@@ -103,6 +99,6 @@ public LastEnqueuedEventProperties getLastEnqueuedEventProperties() {
* successfully processed event in this partition if the update is successful.
*/
public void updateCheckpoint() {
this.updateCheckpointAsync(eventData).block();
this.updateCheckpointAsync().block();
Copy link
Member

Choose a reason for hiding this comment

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

for the .block(), should we pass in the "retryOptions.operationTimeout" so it doesn't block forever (or I think default is 5 mins)?

Copy link
Member Author

Choose a reason for hiding this comment

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

Since this is just a delegate method to the checkpoint store's updateCheckpoint(), I think the checkpoint store (blob client or any other store) should be configured with the necessary timeouts and retry options. If the store they use is super-slow, they might want a different timeout setting than the one they use for Event Hubs (in retryOptions).

Maybe we can defer adding a timeout to a later release if that's required.

@mitchdenny
Copy link
Contributor

/check-enforcer reset

@mitchdenny
Copy link
Contributor

/check-enforcer evaluate

@srnagar srnagar merged commit 105660c into Azure:master Jan 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants