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

[FabricClient] Support 'register service notification filter' api #60

Conversation

youyuanwu
Copy link
Collaborator

Partial impl for #57
FabricClient can register the service notification filter and unregister it.
See dotnet documentation
The registration mechanism is used inside the dotnet implementation of servicepartitionresolver

The registered service to get notification will no longer need to pass the previous endpoint resolve result to force a refresh. This is tested in the stateful example app. But the notification seems to be not very fast (lag of a couple of seconds). But this notification utilizes FabricClient cache, and reduces the cluster api load.
I will compare with direct resolution next.

@youyuanwu youyuanwu marked this pull request as ready for review August 13, 2024 00:44
@youyuanwu youyuanwu merged commit 4b303e2 into Azure:main Aug 13, 2024
3 checks passed
@youyuanwu youyuanwu deleted the users/youyuanwu/support-register-service-notification branch August 13, 2024 18:18
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