[
https://issues.apache.org/jira/browse/CASSSIDECAR-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jyothsna Konisa updated CASSSIDECAR-158:
----------------------------------------
Description:
Adding the following 2 APIs cassandra sidecar which are required for adding
Change Data Capture feature into C*.
- Listing CDC commitlogs/segments
- API : "GET api/v1/cdc/segments"
- Lists all the CDC commit logs on a given cassandra instance.
- Response :
{code:java}
{
"host":"127.0.0.1",
"port":0,
"segmentInfos":[
{
"name":"CommitLog-1-1.log",
"size":1,
"idx":1,
"completed":true,
"lastModifiedTimestamp":1733182677704
}
]
}
{code}
- Streaming Commitlogs/segments
- API: "GET /cdc/segments/CommitLog-1-1.log"
- Streams CDC commit log file
- Response: Streams the file content.
CEP to CDC :
[https://cwiki.apache.org/confluence/display/CASSANDRA/CEP-44%3A+Kafka+integration+for+Cassandra+CDC+using+Sidecar]
Discuss thread :
[https://lists.apache.org/thread/8k6njsnvdbmjb6jhyy07o1s7jz8xp1qg]
was:
Adding the following 2 APIs cassandra sidecar which are required for adding
Change Data Capture feature into C*.
- Listing CDC commitlogs/segments
- API : "GET api/v1/cdc/segments"
- Lists all the CDC commit logs on a given cassandra instance.
- Response :
{code:java}
{
"host":"127.0.0.1",
"port":0,
"segmentInfos":[
{
"name":"CommitLog-1-1.log",
"size":1,
"idx":1,
"completed":true,
"lastModifiedTimestamp":1733182677704
}
]
}
{code}
- Streaming Commitlogs/segments
- API: "GET /cdc/segments/CommitLog-1-1.log"
- Streams CDC commit log file
- Response: Streams the file content.
CEP to CDC :
[https://cwiki.apache.org/confluence/display/CASSANDRA/CEP-44%3A+Kafka+integration+for+Cassandra+CDC+using+Sidecar]
Discuss thread :
[https://lists.apache.org/thread/8k6njsnvdbmjb6jhyy07o1s7jz8xp1qg]
> Adding APIs required for CDC
> ----------------------------
>
> Key: CASSSIDECAR-158
> URL: https://issues.apache.org/jira/browse/CASSSIDECAR-158
> Project: Sidecar for Apache Cassandra
> Issue Type: New Feature
> Components: Rest API
> Reporter: Jyothsna Konisa
> Assignee: Jyothsna Konisa
> Priority: Urgent
> Fix For: 1.0
>
> Time Spent: 4h 50m
> Remaining Estimate: 0h
>
> Adding the following 2 APIs cassandra sidecar which are required for adding
> Change Data Capture feature into C*.
> - Listing CDC commitlogs/segments
> - API : "GET api/v1/cdc/segments"
> - Lists all the CDC commit logs on a given cassandra instance.
> - Response :
>
> {code:java}
> {
> "host":"127.0.0.1",
> "port":0,
> "segmentInfos":[
> {
> "name":"CommitLog-1-1.log",
> "size":1,
> "idx":1,
> "completed":true,
> "lastModifiedTimestamp":1733182677704
> }
> ]
> }
> {code}
> - Streaming Commitlogs/segments
> - API: "GET /cdc/segments/CommitLog-1-1.log"
> - Streams CDC commit log file
> - Response: Streams the file content.
> CEP to CDC :
> [https://cwiki.apache.org/confluence/display/CASSANDRA/CEP-44%3A+Kafka+integration+for+Cassandra+CDC+using+Sidecar]
> Discuss thread :
> [https://lists.apache.org/thread/8k6njsnvdbmjb6jhyy07o1s7jz8xp1qg]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]