2021-09-19 22:38:53 +00:00
|
|
|
<clickhouse>
|
2018-07-18 05:22:01 +00:00
|
|
|
<kafka>
|
2020-05-04 11:27:15 +00:00
|
|
|
<!-- Debugging of possible issues, like:
|
|
|
|
- https://github.com/edenhill/librdkafka/issues/2077
|
|
|
|
- https://github.com/edenhill/librdkafka/issues/1778
|
2020-04-27 18:56:35 +00:00
|
|
|
- #5615
|
2020-05-04 11:27:15 +00:00
|
|
|
|
|
|
|
XXX: for now this messages will appears in stderr.
|
|
|
|
-->
|
|
|
|
<debug>cgrp,consumer,topic,protocol</debug>
|
2023-02-22 19:58:48 +00:00
|
|
|
|
2023-07-10 14:03:49 +00:00
|
|
|
<!-- librdkafka stat in system.kafka_consumers -->
|
2024-02-27 18:36:36 +00:00
|
|
|
<!-- default 3000 (every three second) seems too long for test -->
|
|
|
|
<statistics_interval_ms>600</statistics_interval_ms>
|
2023-07-10 14:03:49 +00:00
|
|
|
|
2023-02-23 20:04:41 +00:00
|
|
|
<kafka_topic>
|
|
|
|
<name>consumer_hang</name>
|
2023-02-22 19:58:48 +00:00
|
|
|
<!-- default: 3000 -->
|
2024-03-27 11:19:26 +00:00
|
|
|
<heartbeat_interval_ms>301</heartbeat_interval_ms>
|
2023-02-23 20:04:41 +00:00
|
|
|
</kafka_topic>
|
2024-03-27 11:19:26 +00:00
|
|
|
<kafka_separate_settings>
|
|
|
|
<!-- This is old syntax. This setting will be set for consumer and producer-->
|
|
|
|
<!-- default 3000 -->
|
|
|
|
<heartbeat_interval_ms>302</heartbeat_interval_ms>
|
|
|
|
</kafka_separate_settings>
|
|
|
|
<consumer>
|
|
|
|
<auto_offset_reset>earliest</auto_offset_reset>
|
|
|
|
<kafka_topic>
|
|
|
|
<!-- Setting for topic will be applied only for consumer -->
|
|
|
|
<name>consumer_hang</name>
|
|
|
|
<!-- default: 10000 -->
|
|
|
|
<session_timeout_ms>6000</session_timeout_ms>
|
|
|
|
</kafka_topic>
|
|
|
|
<kafka_topic>
|
|
|
|
<name>separate_settings</name>
|
|
|
|
<!-- default: 10000 -->
|
|
|
|
<session_timeout_ms>6001</session_timeout_ms>
|
|
|
|
</kafka_topic>
|
|
|
|
</consumer>
|
|
|
|
<producer>
|
|
|
|
<kafka_separate_settings>
|
|
|
|
<!-- This is old syntax. And doesn't work inside producer and consumer tags-->
|
|
|
|
<!-- default 300000 -->
|
|
|
|
<message_timeout_ms>300001</message_timeout_ms>
|
|
|
|
</kafka_separate_settings>
|
|
|
|
<kafka_topic>
|
|
|
|
<name>separate_settings</name>
|
|
|
|
<!-- This is only producer setting, if it was applied to consumer,
|
|
|
|
it would create warning message in logs. -->
|
|
|
|
<!-- default 30000 -->
|
|
|
|
<request_timeout_ms>30001</request_timeout_ms>
|
|
|
|
</kafka_topic>
|
|
|
|
<!-- default 60000 -->
|
|
|
|
<transaction_timeout_ms>60001</transaction_timeout_ms>
|
|
|
|
</producer>
|
2018-07-18 05:22:01 +00:00
|
|
|
</kafka>
|
2020-04-27 18:56:35 +00:00
|
|
|
|
2021-09-19 22:38:53 +00:00
|
|
|
</clickhouse>
|