rnb-tron commented on code in PR #99:
URL:
https://github.com/apache/doris-kafka-connector/pull/99#discussion_r3231977944
##########
src/main/java/org/apache/doris/kafka/connector/utils/BackendUtils.java:
##########
@@ -31,8 +31,19 @@
public class BackendUtils {
private static final Logger LOG =
LoggerFactory.getLogger(BackendUtils.class);
+
+ /** TTL of the cached available backend (ms). */
+ private static final long CACHE_TTL_MS = 60_000L;
Review Comment:
In addition,i think it can be reduce to 30s or 10s.
--
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]