'Location in disk where data is flushed Kafka
I have a basic kafka 2.13_3.10 cluster with one broker, consumer and producer.
I was testing if the
log.flush.interval.messages = 10
worked properly. It is supposed to write the kafka messages of the topics after 10 messages, but where are they saved in the disk by default??
And, is there any configuration to specify the directory where you want data to be flushed??
Solution 1:[1]
In Kafka you specify where messages are stored via the log.dirs settings. By default, the path is /tmp/kafka-logs.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Mickael Maison |
