diggle1 commented on code in PR #99:
URL: 
https://github.com/apache/doris-kafka-connector/pull/99#discussion_r3663949660


##########
src/main/java/org/apache/doris/kafka/connector/utils/BackendUtils.java:
##########
@@ -31,8 +34,14 @@
 
 public class BackendUtils {
     private static final Logger LOG = 
LoggerFactory.getLogger(BackendUtils.class);
+
+    /** TTL of a successful HTTP probe result for a BE (ms). */
+    private static final long PROBE_CACHE_TTL_MS = 5_000L;
+

Review Comment:
   The PR description is outdated — the final code uses a 5s per-BE probe cache 
with round-robin (not the earlier 30s sticky cache). I'll update the 
description to match.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to