Skip to main content

schema_registry_decode

EXPERIMENTAL

This component is experimental and therefore subject to change or removal outside of major version releases.

Automatically decodes and validates messages with schemas from a Confluent Schema Registry service.

# Common config fields, showing default valueslabel: ""schema_registry_decode:  url: ""

Decodes messages automatically from a schema stored within a Confluent Schema Registry service by extracting a schema ID from the message and obtaining the associated schema from the registry. If a message fails to match against the schema then it will remain unchanged and the error can be caught using error handling methods outlined here.

Currently only Avro schemas are supported.

Fields#

url#

The base URL of the schema registry service.

Type: string

tls#

Custom TLS settings can be used to override system defaults.

Type: object

tls.skip_cert_verify#

Whether to skip server side certificate verification.

Type: bool
Default: false

tls.enable_renegotiation#

Whether to allow the remote server to repeatedly request renegotiation. Enable this option if you're seeing the error message local error: tls: no renegotiation.

Type: bool
Default: false
Requires version 3.45.0 or newer

tls.root_cas_file#

An optional path of a root certificate authority file to use. This is a file, often with a .pem extension, containing a certificate chain from the parent trusted root certificate, to possible intermediate signing certificates, to the host certificate.

Type: string
Default: ""

# Examples
root_cas_file: ./root_cas.pem

tls.client_certs#

A list of client certificates to use. For each certificate either the fields cert and key, or cert_file and key_file should be specified, but not both.

Type: array

# Examples
client_certs:  - cert: foo    key: bar
client_certs:  - cert_file: ./example.pem    key_file: ./example.key

tls.client_certs[].cert#

A plain text certificate to use.

Type: string
Default: ""

tls.client_certs[].key#

A plain text certificate key to use.

Type: string
Default: ""

tls.client_certs[].cert_file#

The path to a certificate to use.

Type: string
Default: ""

tls.client_certs[].key_file#

The path of a certificate key to use.

Type: string
Default: ""