Hello all,

after reading several properties in Kafka documentations, I asked mysleft some 
questions ...


these 2 following options are available:

log.dir The directory in which the log data is kept (supplemental for log.dirs 
property)        string  /tmp/kafka-logs         high
log.dirs        The directories in which the log data is kept. If not set, the 
value in log.dir is used
But in fact, if is the same thing, why only "log.dirs" isn't kept ? What's 
difference in usage ?


Also I noticed that the "data" of logs partition and also the "application" 
logs of Kafka are written in the same directory.

Is a mistake of my part ? Because it's very strange for me to log error, debug, 
warn application message in the same location of my data ...



After that I don't very understand why the log.flush.interval.messages have a 
so big default value ???

log.flush.interval.messages     The number of messages accumulated on a log 
partition before messages are flushed to disk       long    9223372036854775807
And the log.flush.interval.ms is by default null ... ?

It means that until there are so many messages (9223372036854775807) in my 
topics, they will not be flushed to disk ? It can be very long for a default 
value ....


Best regards,


Adrien

Reply via email to