[ https://issues.apache.org/jira/browse/CASSSIDECAR-211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17932116#comment-17932116 ]
Yifan Cai commented on CASSSIDECAR-211: --------------------------------------- +1 Waiting for green CI. > 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 > Time Spent: 3h 20m > Remaining Estimate: 0h > > 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-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org