Details
-
New Feature
-
Status: Resolved
-
Urgent
-
Resolution: Fixed
-
None
Description
Adding the following 2 APIs cassandra sidecar which are required for adding Change Data Capture feature into C*. These are the API contracts only, and do not implement the full CDC functionality. That will be added in a follow up.
- Listing CDC commitlogs/segments
- API : "GET api/v1/cdc/segments"
- Lists all the CDC commit logs on a given cassandra instance.
- Response :
{ "host":"127.0.0.1", "port":0, "segmentInfos":[ { "name":"CommitLog-1-1.log", "size":1, "idx":1, "completed":true, "lastModifiedTimestamp":1733182677704 } ] }
- 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
Attachments
Issue Links
- links to