curator
curator copied to clipboard
[CURATOR-380] Service Discovery: ServiceCacheListener should receive the added or deleted service instance when notified
I think it's reasonable to receive the added/deleted service instance when ServiceCacheListener is notified, currently ServiceCacheListener only has one no-arg method:
public void cacheChanged();
Maybe we should add(or replace with) another two methods in ServiceCacheListener, like:
void onInstanceAdded(ServiceInstance
void onInstancedRemoved(ServiceInstance
Originally reported by julyguo, imported from: Service Discovery: ServiceCacheListener should receive the added or deleted service instance when notified
- status: Open
- priority: Major
- resolution: Unresolved
- imported: 2025-01-21