Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Currently time based log rolling is based on the creating time of the log segment. With this KIP, the time based rolling would be changed to based on the largest timestamp ever seen in a timestamp of the first message in the log segment. A new log segment will be rolled out if current time is greater than largest timestamp ever seen the timestamp of the first message in the log segment + log.roll.ms. When message.timestamp.type=CreateTime, user should set max.message.time.difference.ms appropriately together with log.roll.ms to avoid frequent log segment roll out.

...