[
https://issues.apache.org/jira/browse/CASSSIDECAR-172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17905335#comment-17905335
]
Francisco Guerrero commented on CASSSIDECAR-172:
------------------------------------------------
+1 thanks for the patch.
> 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: 2h 20m
> Remaining Estimate: 0h
>
> 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
>
> {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]