SR_URL and API_KEY are set—see
Connect.
Register a schema
schemaType defaults to AVRO. Set it explicitly to JSON or PROTOBUF otherwise.
Inspect what’s registered
List subjects:Set a compatibility mode
GET /config/orders-value.
Check a change before you ship it
Test a candidate schema without registering it. This belongs in CI, on every pull request that touches a schema file:is_compatible: false and the incompatible change never reaches a cluster.
A workflow that holds up
Auto-registration means whichever producer connects first defines the subject. That’s fine for prototyping and poor for a shared platform. For subjects that matter:-
Turn off auto-registration in producers and set
use.latest.version: - Keep schema files in version control next to the code that uses them.
- Run the compatibility check in CI against the target subject.
-
Register from the deploy pipeline, using a service account with
schema-writer. Give application service accountsschema-readeronly. - Set the compatibility mode when you create the subject, rather than discovering the default later.
Replicate schemas to another cluster
Use Universal Linking to replicate schemas from an active cluster to one or more standby clusters. The standby registry runs in import mode: it accepts replicated schemas and rejects new registrations from producers. Schema Linking exporters aren’t available—see Confluent API compatibility.Next steps
Delete schemas
Soft delete, hard delete, and what can’t be undone.
Schema ID validation
Enforce registered schemas at the broker.