Davis-Zhang-Onehouse commented on code in PR #12803:
URL: https://github.com/apache/hudi/pull/12803#discussion_r1955411809


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config/HoodieWriteConfig.java:
##########
@@ -211,6 +212,29 @@ public class HoodieWriteConfig extends HoodieConfig {
       .withDocumentation("Key generator class, that implements 
`org.apache.hudi.keygen.KeyGenerator` "
           + "extract a key out of incoming records.");
 
+  public static final ConfigProperty<String> RECORD_SIZE_ESTIMATOR_CLASS_NAME 
= ConfigProperty
+      .key("hoodie.record.size.estimator.class")
+      .defaultValue(AverageRecordSizeEstimator.class.getName())
+      .markAdvanced()
+      .sinceVersion("1.0.0")
+      .withDocumentation("Class that estimates the size of records written by 
implementing "
+          + "`org.apache.hudi.estimator.RecordSizeEstimator`. Default 
implementation is `org.apache.hudi.estimator.AverageRecordSizeEstimator`");
+
+  public static final ConfigProperty<Integer> 
RECORD_SIZE_ESTIMATOR_MAX_COMMITS = ConfigProperty
+      .key("hoodie.record.size.estimator.max.commits")

Review Comment:
   Followed @nsivabalan 's guide to prefix with underscore so it won't show up 
in the user facing doc.



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