Versions Compared

Key

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

...

(2) one new server configuration item:  log.remote.copy.lazy.enable
If a user wants to enable the lazy copy behaviour for all the topics (including the new ones), then they can set this broker level config to true. Otherwise,
it will be hard for the user to create the new topics with this config set when remote storage is enabled.

Code Block
languagejava
titleorg.apache.kafka.server.config.ServerLogConfigs
    public static final String LOG_REMOTE_COPY_LAZY_ENABLE_CONFIG = LOG_PREFIX + TopicConfig.REMOTE_COPY_LAZY_ENABLE_CONFIG;
    public static final String LOG_REMOTE_COPY_LAZY_ENABLE_DOC = TopicConfig.REMOTE_COPY_LAZY_ENABLE_DOC;


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

Proposed Changes

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

...