YannByron commented on code in PR #6476:
URL: https://github.com/apache/hudi/pull/6476#discussion_r958141452
##########
hudi-common/src/main/java/org/apache/hudi/common/table/HoodieTableConfig.java:
##########
@@ -127,6 +127,27 @@ public class HoodieTableConfig extends HoodieConfig {
.withDocumentation("Columns used to uniquely identify the table.
Concatenated values of these fields are used as "
+ " the record key component of HoodieKey.");
+ public static final ConfigProperty<Boolean> CDC_ENABLED = ConfigProperty
+ .key("hoodie.table.cdc.enabled")
+ .defaultValue(false)
+ .withDocumentation("When enable, persist the change data if necessary,
and can be queried as a CDC query mode.");
+
+ // op and key
+ public static final String CDC_SUPPLEMENTAL_LOGGING_MODE_MINI = "op_key";
+ public static final String CDC_SUPPLEMENTAL_LOGGING_MODE_WITH_BEFORE =
"cdc_data_before";
+ public static final String CDC_SUPPLEMENTAL_LOGGING_MODE_WITH_BEFORE_AFTER =
"cdc_data_before_after";
+
+ public static final ConfigProperty<String> CDC_SUPPLEMENTAL_LOGGING_MODE =
ConfigProperty
+ .key("hoodie.table.cdc.supplemental.logging.mode")
+ .defaultValue(CDC_SUPPLEMENTAL_LOGGING_MODE_WITH_BEFORE_AFTER)
Review Comment:
ok.
--
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]