Replies: 1 comment 1 reply
-
Hi @Ilanlido , please check this https://github.com/Altinity/clickhouse-sink-connector/blob/develop/doc/production_setup.md |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I’ve noticed that when the Kafka topic being consumed has little to no lag, the connector reads and inserts very small batches (sometimes just 1–10 records) into ClickHouse. Even when there is some lag, the batches tend to be quite small—around 100–200 records—processed in a very short time. This behavior isn’t ideal for ClickHouse, as it performs best with larger batch inserts.
I came across the buffer.flush.timeout.ms configuration
which sounds like it might help—setting a timeout to allow the buffer to accumulate more records before flushing. However, I couldn’t find any part of the codebase that actually makes use of this setting.
Is this configuration currently supported? If not, is there another way to control batch flush timing to ensure larger inserts into ClickHouse?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions