kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jay Guo <guojiannan1...@gmail.com>
Subject log retention and rolling behaviors
Date Fri, 12 Jan 2018 11:06:29 GMT
Dear Kafka gurus,

I'm trying to confirm following behaviors in Kafka 0.10.x:

- `log.roll.x` and `log.segment.bytes` are checked only when new message
comes in. In another word, there's no scheduled job to roll out new segment
files
- `log.retention.time` is checked by scheduled job, and when in-use segment
file expires, new segment file is forced to be created, and the old one is
marked as deleted
- `log.retention.bytes` is does NOT force a new segment file to be created
though. Also, it is only checked against closed segment files.

I'd appreciate your comments! Thanks in advance!
- J

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message