v.24.4Improvement

Add Client Identifier to Log Messages for Differentiating Consumers in ClickHouse

Add librdkafka's (that infamous C library, which has a lot of bugs) client identifier to log messages to be able to differentiate log messages from different consumers of a single table. #62813 (János Benjamin Antal).
Adds the librdkafka client identifier to ClickHouse log messages to distinguish logs from different Kafka consumers consuming the same table.

Why it matters

This feature enables better troubleshooting by allowing users to identify and differentiate log entries coming from multiple Kafka consumer instances of a single ClickHouse table, addressing the difficulty in isolating issues caused by client-side bugs in librdkafka.

How to use it

The librdkafka client identifier is automatically included in the log messages related to Kafka consumers. No additional configuration is needed to start seeing the client identifiers in the logs.