Versions Compared

Key

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

...


The default value are 0 so that the whole remote storage module keeps the original behavior.

Proposed Changes

You can refer to https://github.com/apache/kafka/pull/20913 for the detailed changes.

...

Reason for rejection: Some users require real-time remote analytics and need data uploaded as soon as possible. Breaking their use case would be unacceptable. after all it is the default behavior before this change.

Alternative 1: Using one flag(true/false) configure to choose: No delay or Delay with max value.

The current configuration covers flag/boolean-type configure's feature (0: No delay/-1: Max delay) and provides additional flexibility, allowing the total size or time of local segments to stay within local limits for a much longer period when remote storage is unavailable.