anoopj commented on code in PR #13507:
URL: https://github.com/apache/iceberg/pull/13507#discussion_r2199017447
##########
core/src/main/java/org/apache/iceberg/SystemConfigs.java:
##########
@@ -53,6 +53,17 @@ private SystemConfigs() {}
Math.max(2, 4 * Runtime.getRuntime().availableProcessors()),
Integer::parseUnsignedInt);
+ /**
+ * Sets the size of the metrics reporting thread pool. This limits the
number of concurrent
+ * metrics reporting operations.
+ */
+ public static final ConfigEntry<Integer> METRICS_THREAD_POOL_SIZE =
+ new ConfigEntry<>(
+ "iceberg.metrics.num-threads",
+ "ICEBERG_METRICS_NUM_THREADS",
+ 2,
+ Integer::parseUnsignedInt);
+
Review Comment:
Makes sense. Done.
--
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]