Skip to content

Conversation

@mohammedabdulwahhab
Copy link
Contributor

Defines an implementation of service discovery that uses the key value store manager

@mohammedabdulwahhab mohammedabdulwahhab requested a review from a team as a code owner November 4, 2025 17:27
@github-actions github-actions bot added the fix label Nov 4, 2025
@mohammedabdulwahhab mohammedabdulwahhab changed the title fix: define an implementation of service discovery that uses the key value store manager fix: implementation of service discovery that uses the key value store manager Nov 4, 2025
tokio::sync::mpsc::Receiver<WatchEvent>,
) {
let bucket_name = bucket_name.to_string();
let (tx, rx) = tokio::sync::mpsc::channel(128);
Copy link
Contributor Author

@mohammedabdulwahhab mohammedabdulwahhab Nov 4, 2025

Choose a reason for hiding this comment

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

This changes on this file are still a WIP and might not be needed at all. I am still evaluating by testing the ETCD implementation. Please omit from review if you are taking an early look

);

// Use the KeyValueStoreManager's watch mechanism
let (_, mut rx) = self.store.clone().watch(
Copy link
Contributor Author

Choose a reason for hiding this comment

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

A limitation of the APIs exposed by KeyValueBucket and KeyValueStoreManager is that we can only watch on the whole bucket (not a subset of keys). Technically, we can do this right now, but it would be going around the abstraction

Base automatically changed from mabdulwahhab/interface-models to main November 6, 2025 22:25
@github-actions
Copy link

github-actions bot commented Dec 7, 2025

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Dec 7, 2025
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.

2 participants