Skip to content
JSON Schema Schema Registry

JSON Schema Schema Registry

Properties

PropertyTypeRequiredDescription
leader_eligibilitybooleannoIf true, Karapace / Schema Registry on the service nodes can participate in leader election. It might be needed to disable this when the schemas topic is replicated to a secondary cluster and Karapace / Schema Registry there must not participate in leader election. Defaults to true.
retriable_errors_silencedbooleannoIf enabled, kafka errors which can be retried or custom errors specified for the service will not be raised, instead, a warning log is emitted. This will denoise issue tracking systems, i.e. sentry. Defaults to true.
sasl_oauthbearer_authentication_enabledbooleannoIf enabled, the Schema Registry validates OAuth 2.0/OIDC JWT bearer tokens. Requires sasl_oauthbearer_jwks_endpoint_url, sasl_oauthbearer_expected_issuer, and sasl_oauthbearer_expected_audience under kafka. Defaults to false.
sasl_oauthbearer_authorization_enabledbooleannoIf enabled, the Schema Registry enforces role-based authorization using the JWT roles claim. It also enables sasl_oauthbearer_authentication_enabled if it isn’t already enabled. Authorization requires authentication. Defaults to false.
sasl_oauthbearer_method_rolesstringnoMaps HTTP methods to allowed roles. Use a JSON object with GET, POST, PUT, and DELETE keys mapped to arrays of roles. Role names use the karapace. prefix. Example: {"GET": ["karapace.schema:read"], "POST": [], "PUT": [], "DELETE": []}.

Max length: 4096.
sasl_oauthbearer_roles_claim_pathstringnoThe JSON path the Schema Registry uses to find the roles claim in the JWT. Defaults to resource_access.karapace.roles.

Max length: 128.
schema_reader_strict_modebooleannoIf enabled, causes the Karapace schema-registry service to shutdown when there are invalid schema records in the _schemas topic. Defaults to false.
topic_namestringnoThe durable single partition topic that acts as the durable log for the data. This topic must be compacted to avoid losing data due to retention policy. Please note that changing this configuration in an existing Schema Registry / Karapace setup leads to previous schemas being inaccessible, data encoded with them potentially unreadable and schema ID sequence put out of order. It’s only possible to do the switch while Schema Registry / Karapace is disabled. Defaults to _schemas.

Min length: 1. Max length: 249.
Last updated on