DigitalOcean-public.v2-new_Databases

Update Schema Registry Configuration for a Subject of kafka Cluster

To update the Schema Registry configuration for a Subject of a Kafka cluster, send a PUT request to /v2/databases/$DATABASE_ID/schema-registry/config/$SUBJECT_NAME. The response is a JSON object with a compatibility_level key, which is set to an object containing any database configuration parameters.

put/v2/databases/{database_cluster_uuid}/schema-registry/config/{subject_name}

Path parameters

database_cluster_uuidstring uuid required

A unique identifier for a database cluster.

subject_namestring required

The name of the Kafka schema subject.

Request body

compatibility_level'NONE' | 'BACKWARD' | 'BACKWARD_TRANSITIVE' | 'FORWARD' | 'FORWARD_TRANSITIVE' | 'FULL' | 'FULL_TRANSITIVE' required

The compatibility level of the schema registry.

Response

A JSON object with a key of compatibility_level.

subject_namestring required

The name of the schema subject.

compatibility_level'NONE' | 'BACKWARD' | 'BACKWARD_TRANSITIVE' | 'FORWARD' | 'FORWARD_TRANSITIVE' | 'FULL' | 'FULL_TRANSITIVE' required

The compatibility level of the schema registry.

Changes

Changed in 2 of the 8 revisions of this API.3