Write Modes
Kafka Write Mode
Buffer data in Kafka before writing to ClickHouse
The kafka
write mode buffers data in Kafka before writing it to ClickHouse. This mode is useful when you have a high volume of data and want to avoid overwhelming ClickHouse. This mode takes advantage of ClickHouse’s kafka table engine.
Setup
To set up Dittofeed with the kafka
write mode, you can make use of the following environment variables:
Finally, you can run the bootstrap script to create the necessary Kafka topic: