> ## Documentation Index
> Fetch the complete documentation index at: https://clickhouse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# kafka_* session settings

> ClickHouse session settings in the kafka_* generated group.

These settings are available in [system.settings](https://clickhouse.com/docs/reference/system-tables/settings.md) and are autogenerated from [source](https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Settings.cpp).

## kafka\_disable\_num\_consumers\_limit

Type

Bool

Default

0

Disable limit on kafka\_num\_consumers that depends on the number of available CPU cores.

## kafka\_max\_wait\_ms

Type

Milliseconds

Default

5000

The wait time in milliseconds for reading messages from [Kafka](https://clickhouse.com/docs/reference/engines/table-engines/integrations/kafka.md) before retry.

Possible values:

* Positive integer.
* 0 — Infinite timeout.

See also:

* [Apache Kafka](https://kafka.apache.org/)
