You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jyothsna Konisa (Jira)" <ji...@apache.org> on 2025/02/13 22:21:00 UTC

[jira] [Created] (CASSSIDECAR-211) Config APIs for CDC feature

Jyothsna Konisa created CASSSIDECAR-211:
-------------------------------------------

             Summary: Config APIs for CDC feature
                 Key: CASSSIDECAR-211
                 URL: https://issues.apache.org/jira/browse/CASSSIDECAR-211
             Project: Sidecar for Apache Cassandra
          Issue Type: New Feature
            Reporter: Jyothsna Konisa
            Assignee: Jyothsna Konisa


The Change Data Capture (CDC) feature requires some Kafka and CDC configurations to be stored inside Cassandra. A new table "configs" is added inside Sidecar's internal keyspace for storing the above mentioned CDC/Kafka configs and this patch add APIs in the server and client to Add/Update/Delete those configs.

This patch adds the following APIs 

* GetServiceConfigs
* API : "GET api/v1/services"
* Gets configs of all the services
* Response:
{code:java}
{
   "services":[
      {
         "service":"kafka",
         "config":{
            "k2":"v2",
            "k1":"v1"
         }
      },
      {
         "service":"cdc",
         "config":{
            "k3":"v3",
            "k4":"v4"
         }
      }
   ]
}
{code}

* Update service config
* API : "PUT /api/v1/services/{service-name}/config"
* Updates configs for a given service
* Response

{code:java}
{
   "config":{
      "testKey":"testValue"
   }
}
{code}





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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org