jiafu1115 commented on code in PR #20913:
URL: https://github.com/apache/kafka/pull/20913#discussion_r3200541444


##########
storage/src/main/java/org/apache/kafka/storage/internals/log/LogConfig.java:
##########
@@ -138,6 +144,10 @@ public Optional<String> serverConfigName(String 
configName) {
     public static final boolean DEFAULT_REMOTE_LOG_DELETE_ON_DISABLE_CONFIG = 
false;
     public static final long DEFAULT_LOCAL_RETENTION_BYTES = -2; // It 
indicates the value to be derived from RetentionBytes
     public static final long DEFAULT_LOCAL_RETENTION_MS = -2; // It indicates 
the value to be derived from RetentionMs
+    public static final long DEFAULT_REMOTE_COPY_LAG_MS = -2;  // It indicates 
no delay check based on local retention ms
+    public static final long DEFAULT_REMOTE_COPY_LAG_BYTES = -2; // It 
indicates no delay check based on local retention bytes

Review Comment:
   @kamalcph Thanks for comments.  Currently. I using 
    remote.copy.lag.ms to 1 day and remote.copy.lag.bytes to -2 (no check size. 
final result is to check time)
    due to I make -1 to mean the max delay lag.  if we don't have the -1. I 
will use -1. 
    so we must have one value to distingue: 0: no check any thing, upload at 
once.  X: no check this one. but check another one.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to