Versions Compared

Key

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

...

The property metadata.log.max.snapshot.interval.ms will be added to the Kafka server configuration. This is the maximum amount of time that Kafka will wait to generate a snapshot if there are records in the log that are not included in the latest snapshot. The default value for this property will be an hour. A value of zero, disables time based snapshot generation.

The default value for the metadata.max.retention.bytes  will be changed from -1 (disabled)  to 100 * 1024 * 1024  (100MB).

Proposed Changes

Both the KRaft brokers and controllers will generate a snapshot if there is a record in the log that is newer than the latest snapshot and has an append time older than metadata.log.max.snapshot.interval.ms milliseconds ago.

...