add-tags-to-topic
Assign existing tags to Kafka topics in Confluent Cloud, enabling organized and efficient topic management. Specify tag assignments directly through structured input.
Instructions
Assign existing tags to Kafka topics in Confluent Cloud.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
baseUrl | No | The base URL of the Schema Registry REST API. | |
tagAssignments | Yes | Array of tag assignments to create |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"baseUrl": {
"default": "",
"description": "The base URL of the Schema Registry REST API.",
"format": "uri",
"type": "string"
},
"tagAssignments": {
"description": "Array of tag assignments to create",
"items": {
"additionalProperties": false,
"properties": {
"entityName": {
"description": "Qualified name of the entity. If not provided, you can obtain it from using the search-topics-by-name tool. example: \"lsrc-g2p81:lkc-xq8k7g:my-flights\"",
"type": "string"
},
"entityType": {
"default": "kafka_topic",
"type": "string"
},
"typeName": {
"description": "Name of the tag to assign",
"type": "string"
}
},
"required": [
"entityName",
"typeName"
],
"type": "object"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"tagAssignments"
],
"type": "object"
}