Skip to content

Latest commit

 

History

History
78 lines (53 loc) · 2 KB

README.md

File metadata and controls

78 lines (53 loc) · 2 KB

Schema registry

⚠️ The support of the schema registry in Yozefu is highly experimental. Contributions and feedback are welcome:

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"
            }
        }
    }
}

Basic auth

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="
        }
    }
}

Bearer token

{
    "schema_registry": {
        "url": "https://acme-schema-registry:8081",
        "headers": {
            "Authorization": "Bearer <bearer-token>"
        }
    }
}

Authentication methods per provider

Nom Authentication methods
Confluent Basic authentication
OAuth
Redpanda Cloud Basic authentication
OAuth