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:26:00 UTC

[jira] [Updated] (CASSSIDECAR-211) Config APIs for storing CDC/Kafka configs for CDC feature

     [ https://issues.apache.org/jira/browse/CASSSIDECAR-211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jyothsna Konisa updated CASSSIDECAR-211:
----------------------------------------
    Summary: Config APIs for storing CDC/Kafka configs for CDC feature  (was: Config APIs for CDC feature)

> Config APIs for storing CDC/Kafka configs for CDC feature
> ---------------------------------------------------------
>
>                 Key: CASSSIDECAR-211
>                 URL: https://issues.apache.org/jira/browse/CASSSIDECAR-211
>             Project: Sidecar for Apache Cassandra
>          Issue Type: New Feature
>          Components: Rest API
>            Reporter: Jyothsna Konisa
>            Assignee: Jyothsna Konisa
>            Priority: Major
>
> 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 adds APIs in the server and client to Add/Update/Delete those configs.
> This patch adds the following APIs 
> * GetServiceConfigs : Gets all the configs that are present in the "configs" table per each service
> * 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 : Updates or deletes configs for a given service
> * API : "PUT/DELETE /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