[ 
https://issues.apache.org/jira/browse/CASSSIDECAR-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jyothsna Konisa updated CASSSIDECAR-172:
----------------------------------------
    Description: 
This patch adds the following APIs into sidecar client
* StreamCdcSegments - Streams requested CDC segment with in a given range. 
Segment is stream 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
            
{code:java}
 {
              "host":"127.0.0.1",
              "port":0,
              "segmentInfos":[
              {
                   "name":"CommitLog-1-1.log",
                  "size":1,
                  "idx":1,
                  "completed":true,
                  "lastModifiedTimestamp":1733182677704
              }
            ]
        }
{code}

Added test cases for both APIs to verify responses

  was:
This patch adds the following APIs into sidecar client
* StreamCdcSegments
* ListCdcSegments

Added test cases for both APIs to verify responses


> Adding support for CDC APIs into sidecar client
> -----------------------------------------------
>
>                 Key: CASSSIDECAR-172
>                 URL: https://issues.apache.org/jira/browse/CASSSIDECAR-172
>             Project: Sidecar for Apache Cassandra
>          Issue Type: New Feature
>          Components: Rest API
>            Reporter: Jyothsna Konisa
>            Assignee: Jyothsna Konisa
>            Priority: Major
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> This patch adds the following APIs into sidecar client
> * StreamCdcSegments - Streams requested CDC segment with in a given range. 
> Segment is stream 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
>             
> {code:java}
>  {
>               "host":"127.0.0.1",
>               "port":0,
>               "segmentInfos":[
>               {
>                    "name":"CommitLog-1-1.log",
>                   "size":1,
>                   "idx":1,
>                   "completed":true,
>                   "lastModifiedTimestamp":1733182677704
>               }
>             ]
>         }
> {code}
> Added test cases for both APIs to verify responses



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to