Uploaded image for project: 'Apache Curator'
  1. Apache Curator
  2. CURATOR-470

Newly added/Removed ServiceInstance should be passed to ServiceCacheListener#cacheChanged method

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.0.1
    • Fix Version/s: None
    • Component/s: General, Recipes
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              metrxqin@gmail.com Jerry Chin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: