The registerSchema service registers a new schema under a specified subject
with the given type (e.g., AVRO), content, and optional schema references, returning the assigned
schema ID.
Input Parameters
| type (String, optional) |
The schema type. Currently supports "AVRO". If not specified,
defaults to AVRO. |
| subject (String, required) |
The subject name under which to register the schema. |
| content (String, required) |
The schema definition/content to register. |
| references (Record list, optional) |
Array of schema references, each containing: |
| name (String, required) |
The reference name. |
| subject (String, required) |
The subject of the referenced schema. |
| version (Integer, required) |
The version of the referenced schema. |
|
$connectionName (String, required)
|
Name of the Kafka connection configured with the Confluent
Schema Registry. |
Output Parameters
| id (Integer, required)
|
The unique identifier assigned to the registered schema.
If the schema already exists, returns the existing schema ID. |
| message (String, required)
|
The response message returned after the service
execution. |