DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
| Code Block | ||||
|---|---|---|---|---|
| ||||
public static final String REMOTE_COPY_LAG_MS_CONFIG = "remote.copy.lag.ms";
public static final String REMOTE_COPY_LAG_MS_DOC = "Controls how long to delay uploading segments to remote storage. " +
"When set to 0 (default), segments are uploaded as soon as they are eligible (no delay check). " +
"When set to a -1,positive resolves to the effective <code>local.retention.ms</code> (maximum delay, or upload immediately when <code>local.retention.ms</code> is -1). " +
"When set to a positive value (ms), a segment becomes eligible for upload only after the time since the value (ms), a segment can become eligible for upload only after the time since the latest record in the segment reaches the value. " +
"The value should not exceed the effective <code>local.retention.ms</code>local retention ms when the latter is non-negative. " +
"When set to -1, resolves to the effective local retention ms (maximum delay, or no delay check when local retention ms is non-negative1).";
public static final String REMOTE_COPY_LAG_BYTES_CONFIG = "remote.copy.lag.bytes";
public static final String REMOTE_COPY_LAG_BYTES_DOC = "Controls size-based delay for uploading segments to remote storage. " +
"When set to 0 (default), segments are uploaded as soon as they are eligible (no delay) to remote storage. " +
"When set to -1 0 (default), resolvessegments toare theuploaded effective <code>local.retention.bytes</code> (maximum delay, or upload immediately when <code>local.retention.bytes</code> is -1as soon as they are eligible (no delay check). " +
"When set to a positive value (bytes), a segment becomescan become eligible for upload only when the total bytes of log data after the segment reach the value reach the value. " +
"The value should not exceed the effective local retention bytes when the latter is non-negative. " +
"TheWhen set valueto should-1, notresolves exceedto the effective local <code>local.retention.bytes</code>retention bytes (maximum delay, or no delay check when thelocal retention latterbytes is non-negative1)."; |
(2) Two new server configuration items: log.remote.copy.lag.ms and log.remote.copy.lag.bytes
If a user wants to enable the lazy copy behavior for all the topics (including the new ones), then they can set this broker level configs. Otherwise,
it will be hard for the user to create the new topics with these configs set when remote storage is enabled.
...