You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2021/09/06 02:05:20 UTC

[GitHub] [hudi] liujinhui1994 commented on a change in pull request #3312: [HUDI-648][RFC-20] Implement error log/table for Datasource/DeltaStreamer/WriteClient/Compaction writes

liujinhui1994 commented on a change in pull request #3312:
URL: https://github.com/apache/hudi/pull/3312#discussion_r702519243



##########
File path: hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/DataSourceOptions.scala
##########
@@ -724,6 +725,21 @@ object DataSourceWriteOptions {
   val KAFKA_AVRO_VALUE_DESERIALIZER = KAFKA_AVRO_VALUE_DESERIALIZER_CLASS.key()
   @Deprecated
   val SCHEMA_PROVIDER_CLASS_PROP = "hoodie.deltastreamer.schemaprovider.class"
+
+  val ERROR_TABLE_ENABLE_OPT_KEY: ConfigProperty[String]  = ConfigProperty
+    .key("hoodie.write.error.table.enabled")
+    .defaultValue("false")
+    .withDocumentation("Enable the internal Error Table which saves error record");
+
+  val HOODIE_WRITE_STATUS_CLASS_OPT_KEY: ConfigProperty[String] =  ConfigProperty
+    .key("hoodie.writestatus.class")
+    .defaultValue(classOf[WriteStatus].getName)
+    .withDocumentation("");
+
+  val WRITESTATUS_FAILURE_FRACTION_OPT_KEY:  ConfigProperty[String] = ConfigProperty
+    .key("hoodie.memory.writestatus.failure.fraction")
+    .defaultValue("")
+    .withDocumentation("");

Review comment:
       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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org