You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Jerry Chin (JIRA)" <ji...@apache.org> on 2018/06/07 09:50:00 UTC

[jira] [Created] (CURATOR-470) Newly added/Removed ServiceInstance should be passed to ServiceCacheListener#cacheChanged method

Jerry Chin created CURATOR-470:
----------------------------------

             Summary: Newly added/Removed ServiceInstance should be passed to ServiceCacheListener#cacheChanged method 
                 Key: CURATOR-470
                 URL: https://issues.apache.org/jira/browse/CURATOR-470
             Project: Apache Curator
          Issue Type: Improvement
          Components: General, Recipes
    Affects Versions: 4.0.1
            Reporter: Jerry Chin


Hey fellows,

We're using _service discovery_ extension to refactor our raw zookeeper based service monitor.

Every time a service instance exits or joins, the monitor must be notified and push a notification to us, the only thing I found in _service discovery_ package meets the requirement is {{ServiceCacheListener}} interface, but when the interface is fired, there's no way we could know which service has changed.

Please help !

Thank in advance.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)