Versions Compared

Key

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

...

The default value is true so that the whole remote stroage storage module keeps the orginial original behavior when topic don't set it to false.

...

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

We change the candidateLogSegments for remote upload as followed: 


Image Added

Compatibility, Deprecation, and Migration Plan 

...

We can use follow tests to cover the change:

Unit Tests:

  1. Test upload eligibility logic with delay enabled/disabled
  2. Test configuration validation for topic

Integration Tests:  

  1. Verify segments are uploaded before local segment deleted
  2. Test the remote storage reduced after topic enable the feature.

Rejected Alternatives

Alternative 1: Make this the default behavior

...