tejanshrana commented on code in PR #4170:
URL: https://github.com/apache/flink-cdc/pull/4170#discussion_r2731982914


##########
flink-cdc-connect/flink-cdc-source-connectors/flink-connector-mysql-cdc/src/main/java/org/apache/flink/cdc/connectors/mysql/source/config/MySqlSourceConfigFactory.java:
##########
@@ -366,6 +374,9 @@ public MySqlSourceConfig createConfig(int subtaskId, String 
serverName) {
         // Note: the includeSchemaChanges parameter is used to control 
emitting the schema record,
         // only DataStream API program need to emit the schema record, the 
Table API need not
         props.setProperty("include.schema.changes", String.valueOf(true));
+        // enable transaction metadata if includeTransactionMetadataEvents is 
true
+        props.setProperty(
+                "provide.transaction.metadata", 
String.valueOf(includeTransactionMetadataEvents));

Review Comment:
   Done. Could you please take another look and merge if all good? Could this 
feature also be included in v3.6?



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