[
https://issues.apache.org/jira/browse/CASSSIDECAR-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yifan Cai updated CASSSIDECAR-172:
----------------------------------
Fix Version/s: 1.0
Source Control Link:
https://github.com/apache/cassandra-sidecar/commit/c1260886642e789fa15a3fb900251bea529fcc09
Resolution: Fixed
Status: Resolved (was: Ready to Commit)
> 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
> Fix For: 1.0
>
> Time Spent: 2.5h
> 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]