Skip to content
ClickHouse Docs
ClickHouse DocsClickHouse Docs

format_avro_* format settings

These settings are autogenerated from source.

format_avro_schema_registry_connection_timeout

Type
NonZeroUInt64
Default
1
Version history
VersionDefault valueComment
26.51New setting to control the connection timeout (in seconds) for the Confluent Schema Registry HTTP client used by AvroConfluent format.

For AvroConfluent format: connection timeout in seconds for the Confluent Schema Registry HTTP client. Used by both schema fetch and schema registration. Must be greater than 0; a value of 600 (10 minutes) or more is reduced to 599.

format_avro_schema_registry_max_retries

Type
UInt64
Default
5
Version history
VersionDefault valueComment
26.65New setting controlling the maximum number of retries for transient failures (transport timeouts, connection refused, DNS errors, HTTP 5xx/408/429) when communicating with the Confluent Schema Registry. Set to 0 to disable retries. Previous behavior (no retries) is preserved by `compatibility = '26.5'`.

For AvroConfluent format: maximum number of retries for transient failures when communicating with the Confluent Schema Registry (transport timeouts, connection refused, DNS errors, HTTP 5xx/408/429). Set to 0 to disable retries. A value above 20 is reduced to 20. Schema validation errors (HTTP 409, malformed Avro JSON) are not retried.

format_avro_schema_registry_receive_timeout

Type
NonZeroUInt64
Default
1
Version history
VersionDefault valueComment
26.51New setting to control the receive timeout (in seconds) for the Confluent Schema Registry HTTP client used by AvroConfluent format.

For AvroConfluent format: receive timeout in seconds for the Confluent Schema Registry HTTP client. Used by both schema fetch and schema registration. Must be greater than 0; a value of 600 (10 minutes) or more is reduced to 599.

format_avro_schema_registry_retry_initial_backoff_ms

Type
NonZeroUInt64
Default
100
Version history
VersionDefault valueComment
26.6100New setting controlling the initial backoff (in milliseconds) before retrying a failed Confluent Schema Registry request. The backoff doubles on each retry, capped at 10 seconds. Has no effect when `format_avro_schema_registry_max_retries = 0` (the pre-26.6 behavior restored by `compatibility = '26.5'`).

For AvroConfluent format: initial backoff in milliseconds before retrying a failed Confluent Schema Registry request. The backoff doubles on each subsequent retry, capped at 10 seconds. Must be greater than 0; a value above 60000 is reduced to 60000.

format_avro_schema_registry_send_timeout

Type
NonZeroUInt64
Default
1
Version history
VersionDefault valueComment
26.51New setting to control the send timeout (in seconds) for the Confluent Schema Registry HTTP client used by AvroConfluent format.

For AvroConfluent format: send timeout in seconds for the Confluent Schema Registry HTTP client. Used by both schema fetch and schema registration. Must be greater than 0; a value of 600 (10 minutes) or more is reduced to 599.

format_avro_schema_registry_url

For AvroConfluent format: Confluent Schema Registry URL.

Navigation