-
Notifications
You must be signed in to change notification settings - Fork 547
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
Allow subscribing to a single D2URI #1037
Conversation
This new endpoint on `XdsClient` allows one to watch a single URI using the glob collection interface. The watcher will be notified whenever the URI changes or is deleted, which allows for lightweight watches of a singular URI instead of needing to watch the entire cluster.
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.
Please see if my understanding aligns with your thought: we don't want to store this single uri resource into event bus, so that it will not to be put into load balancer, nor saved to FS, as it's not needed.
just a reminder for updating the version and changelog |
lgtm. Please test along with the container PR on a test app, showing the announcement monitoring metric result. |
This new endpoint on
XdsClient
allows one to watch a single URI using the glob collection interface. The watcher will be notified whenever the URI changes or is deleted, which allows for lightweight watches of a singular URI instead of needing to watch the entire cluster.I was able to test this against a local Observer deployment, and validated that the URI updates and deletions are correctly propagated.