v.22.4Improvement

kafka_num_consumers can exceed physical cores on low resource machines

Now kafka_num_consumers can be bigger than amount of physical cores in case of low resource machine (less than 16 cores). #35926 (alesapin).
The kafka_num_consumers setting now supports values greater than the number of physical CPU cores on machines with less than 16 cores.

Why it matters

This feature addresses resource allocation limitations on low-core machines by allowing more Kafka consumer threads than physical cores, improving Kafka consumption performance and flexibility in constrained environments.

How to use it

To use this feature, configure the kafka_num_consumers setting with a value larger than the number of physical cores on machines that have fewer than 16 cores. This allows ClickHouse to spawn additional Kafka consumer threads beyond the physical core count.