Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-7269

Create RouteConfigStore to store and retrieve routing configs

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.0
    • Component/s: None
    • Labels:
      None

      Description

      RouteConfigStore will use ZKClient to create persistent nodes in ZK during distributed mode to store the route configs under the parent node (/routestore) with child names named as the service ids. The payload bytes will be the serialized route config map.

      In InMemory and Standalone mode, the RouteConfigStore will use a Dataset to store the route config. Since we need persistence of route configs across restart of CDAP in SDK, we need to use Dataset instead of say saving it InMemory.

      There should be a way to retrieve the config as well so that it can be used to GET the config to display it via REST and also to get it for use in the NettyRouter to route the service endpoint traffic

        Attachments

          Activity

            People

            • Assignee:
              gokul Gokul Gunasekaran
              Reporter:
              gokul Gokul Gunasekaran
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: