e-mhui commented on PR #2315:
URL: https://github.com/apache/flink-cdc/pull/2315#issuecomment-1999166980

   > > ```sql
   > > debezium.database.history.store.only.captured.tables.ddl
   > > ```
   > 
   > I read the doc 
[docs/connectors/cdc-connectors/oracle-cdc/#connector-options](https://nightlies.apache.org/flink/flink-cdc-docs-release-3.0/zh/docs/connectors/cdc-connectors/oracle-cdc/#connector-options).
 is it the config belongs to `debezium` should be started with "debezium" when 
using the flink cdc? but I find the demo code 
[cdc-connectors/oracle-cdc/#datastream-source](https://nightlies.apache.org/flink/flink-cdc-docs-release-3.0/zh/docs/connectors/cdc-connectors/oracle-cdc/#datastream-source)
 this line `debeziumProperties.setProperty("log.mining.strategy", 
"online_catalog");` of the main method, `log.mining.strategy` didn't start with 
the `debezium`, after read the 
[log.mining.strategy](https://debezium.io/documentation/reference/1.9/connectors/oracle.html#oracle-property-log-mining-strategy)
 it seems the property is belongs to debezium, and the `log.mining.strategy` 
also need to be set `redo_log_catalog` to capture the DDL?
   > 
   > ```java
   >  public static void main(String[] args) throws Exception {
   >         Properties debeziumProperties = new Properties();
   >         debeziumProperties.setProperty("log.mining.strategy", 
"online_catalog"); 
   > ```
   > 
   > will the "log.mining.strategy" need to start with "debezium"? thanks a lot 
for bothering you many times😄. @e-mhui
   
   It is a parameter of debezium, so you should add the prefix `debezium.`.
   
   <img width="918" alt="image" 
src="https://github.com/apache/flink-cdc/assets/111486498/bb8c4dd3-b080-4011-a3a4-cc9a8dc79f2c";>
   


-- 
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: issues-unsubscr...@flink.apache.org

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

Reply via email to