nsivabalan commented on code in PR #10641:
URL: https://github.com/apache/hudi/pull/10641#discussion_r1485785454
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/metadata/HoodieMetadataWriteUtils.java:
##########
@@ -147,6 +148,10 @@ public static HoodieWriteConfig createMetadataWriteConfig(
final Properties properties = new Properties();
properties.put(HoodieTableConfig.RECORDKEY_FIELDS.key(),
RECORD_KEY_FIELD_NAME);
properties.put("hoodie.datasource.write.recordkey.field",
RECORD_KEY_FIELD_NAME);
+ if (nonEmpty(writeConfig.getMetricReporterMetricsNamePrefix())) {
+ properties.put(HoodieMetricsConfig.METRICS_REPORTER_PREFIX.key(),
+ writeConfig.getMetricReporterMetricsNamePrefix() + "_metadata");
+ }
Review Comment:
guess, we are deriving the metrics name prefix from data table's write
config. and hence suffixing "_metadata" to it.
--
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]