Uploaded image for project: 'Aries'
  1. Aries
  2. ARIES-1778

Use endpoint id as path in zookeeper

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • rsa-1.11.0
    • rsa-1.12.0
    • Remote Service Admin
    • None

    Description

      Currently we use a quite complicated and not completely correct way to create zookeeper nodes for endpoints.

      Below the base path we use the fully qualified interfacename and below the endpoint id as path. 

      This creates several problems:

      • To listen to changes we need to create nodes in zookeeper for every interface that is requested as a service. So we end up with many nodes for non remote services.
      • As an endpoint may have more than one interface we then end up with more than once endpoint for it in zookeeper. When the endpoint changes this results in multiple change events created

      So I propose to change this to a much simpler scheme by simply using the endpoint id as a path in zookeeper. This will make it much easier to listen to changes and also will cause less nodes to be created in zookeeper.

       

      Attachments

        Activity

          People

            cschneider Christian Schneider
            cschneider Christian Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: