Files
zooqueen fce0ee72e1 datastore: fix XML config tag mismatch (</clickhouse> closing tags)
Runtime regression from the final lowercase pass: it renamed <clickhouse> opening tags to
<datastore> but the / exclusion (protecting /clickhouse paths) left </clickhouse> closing tags,
so embedded + shipped configs became <datastore>...</clickhouse> -> SAXParseException 'Tag
mismatch' at runtime (compile was fine; XML is data). Renamed all <clickhouse/</clickhouse XML
tags -> datastore (101 closes across configs, embedded strings, keeper configs). Path strings
(/var/lib/clickhouse) have no angle bracket and are untouched. Build compiled; this fixes runtime
config parsing.
2026-06-22 00:25:01 -07:00

66 lines
2.8 KiB
XML

<datastore>
<background_message_broker_schedule_pool_size>128</background_message_broker_schedule_pool_size>
<kafka>
<!-- Debugging of possible issues, like:
- https://github.com/edenhill/librdkafka/issues/2077
- https://github.com/edenhill/librdkafka/issues/1778
- #5615
XXX: for now this messages will appears in stderr.
-->
<debug>cgrp,consumer,topic,protocol</debug>
<!-- librdkafka stat in system.kafka_consumers -->
<!-- default 3000 (every three second) seems too long for test -->
<statistics_interval_ms>600</statistics_interval_ms>
<kafka_topic>
<name>consumer_hang</name>
<!-- default: 3000 -->
<heartbeat_interval_ms>301</heartbeat_interval_ms>
</kafka_topic>
<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>
<!-- In librdkafka 1.7.0 the default value of session.timeout.ms was changed -->
<!-- from 10s to 45s. Let's keep the old behavior for the tests as some of -->
<!-- are depending on this timing. It shouldn't cause any issues in normal -->
<!-- use, only consumers should be more robust, see KIP-735. -->
<session_timeout_ms>10000</session_timeout_ms>
<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>
</kafka>
</datastore>