Types | Support |
---|---|
Json schema | Experimental |
Avro | Experimental |
Protobuf | Not supported for now |
You can configure the tool to use a schema registry. Open the configuration file yozf configure
, and add a schema_registry
entry to your cluster:
{
"clusters": {
"localhost": {
"url_template": "http://localhost:9000/ui/kafka-localhost-server/topic/{topic}/data?single=true&partition={partition}&offset={offset}",
"schema_registry": {
"url": "http://localhost:8081"
},
"kafka": {
"bootstrap.servers": "localhost:9092",
"security.protocol": "plaintext",
"broker.address.family": "v4"
}
}
}
}
If the schema registry is protected by a basic authentication, you can add the Authorization
header:
{
"schema_registry": {
"url": "https://acme-schema-registry:8081",
"headers": {
"Authorization": "Basic am9obkBleGFtcGxlLmNvbTphYmMxMjM="
}
}
}
{
"schema_registry": {
"url": "https://acme-schema-registry:8081",
"headers": {
"Authorization": "Bearer <bearer-token>"
}
}
}
Nom | Authentication methods |
---|---|
Confluent | Basic authentication OAuth |
Redpanda Cloud | Basic authentication OAuth |