apache / apache/curator

[CURATOR-380] Service Discovery: ServiceCacheListener should receive the added or deleted service instance when notified

Open
#900 0 comments 0 reactions 0 assignees View on GitHub
Imported Jira Issue rfe
Dominant language
Java
Stars
3.2k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

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 instance);

void onInstancedRemoved(ServiceInstance instance);

---
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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.