YannByron commented on code in PR #6256:
URL: https://github.com/apache/hudi/pull/6256#discussion_r945544647


##########
rfc/rfc-51/rfc-51.md:
##########
@@ -148,20 +152,27 @@ hudi_cdc_table/
 
 Under a partition directory, the `.log` file with `CDCBlock` above will keep 
the changing data we have to materialize.
 
-There is an option to control what data is written to `CDCBlock`, that is 
`hoodie.table.cdc.supplemental.logging`. See the description of this config 
above.
+#### Write-on-indexing vs Write-on-compaction

Review Comment:
   @xushiyan @prasannarajaperumal 
   If we want to make this cdc behavior similar to the characteristic of RO/RT 
for MOR tables, provide a config like 
`hoodie.datasource.write.cdc.mor.strategy` that have two enum values: realtime 
and compaction. When `hoodie.datasource.write.cdc.mor.strategy` = `realtime`, 
we give the cdc result by merging the log files in-flight asap. if it's 
`compaction`, generate the cdc log files when compaction. in this `compaction` 
case, user can get the cdc result until compaction is finished.



-- 
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-unsubscr...@hudi.apache.org

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

Reply via email to