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

Allow service instances to be disabled temporarily

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0, 2.12.0
    • Component/s: Recipes
    • Labels:
      None

      Description

      Allow service instances to be temporarily removed from discovery (when using the Service Discovery recipe).

      This can be achieved with a new 'enabled' flag that is included as part of the service instance node data in Zookeeper. Updating this flag via e.g. Exhibitor will allow an instance to be disabled. When the flag is omitted, the service is assumed to be enabled, hence this change is backward compatible.

        Attachments

          Activity

            People

            • Assignee:
              randgalt Jordan Zimmerman
              Reporter:
              japher Joe Littlejohn
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: