JSON Schema Schema Registry
Properties
| Property | Type | Required | Description |
|---|---|---|---|
leader_eligibility | boolean | no | If 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_silenced | boolean | no | If 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_enabled | boolean | no | If 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_enabled | boolean | no | If 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_roles | string | no | Maps 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_path | string | no | The 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_mode | boolean | no | If enabled, causes the Karapace schema-registry service to shutdown when there are invalid schema records in the _schemas topic. Defaults to false. |
topic_name | string | no | The 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