Uploaded image for project: 'Sidecar for Apache Cassandra'
  1. Sidecar for Apache Cassandra
  2. CASSSIDECAR-172

Adding support for CDC APIs into sidecar client

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0
    • Rest API
    • None

    Description

      This patch adds the following APIs into sidecar client

      • StreamCdcSegments - Streams requested CDC segment with in a given range on an instance. Segment is streamed into a StreamConumer that is passed as a parameter to the call.
      • ListCdcSegments - Lists all the CDC segments that are present on an Instance. Below is a sample Json response of the call
       {
                    "host":"127.0.0.1",
                    "port":0,
                    "segmentInfos":[
                    {
                         "name":"CommitLog-1-1.log",
                        "size":1,
                        "idx":1,
                        "completed":true,
                        "lastModifiedTimestamp":1733182677704
                    }
                  ]
              }
      

      Added test cases for both APIs to verify responses

      Attachments

        Issue Links

          Activity

            People

              Jyothsnakonisa Jyothsna Konisa
              Jyothsnakonisa Jyothsna Konisa
              Jyothsna Konisa
              Bernardo Botella, Francisco Guerrero, James Berragan, Yifan Cai
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3.5h
                  3.5h