You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2022/10/17 06:52:19 UTC

[GitHub] [inlong] gong commented on a diff in pull request #6173: [INLONG-6152][Sort] Mysql connector support filtering kinds of row data

gong commented on code in PR #6173:
URL: https://github.com/apache/inlong/pull/6173#discussion_r996670447


##########
inlong-sort/sort-connectors/mysql-cdc/src/main/java/org/apache/inlong/sort/cdc/mysql/source/config/MySqlSourceOptions.java:
##########
@@ -184,6 +184,16 @@ public class MySqlSourceOptions {
                             "Optional interval of sending heartbeat event for tracing the "
                                     + "latest available binlog offsets");
 
+    public static final ConfigOption<String> ROW_KINDS_FILTERED =
+        ConfigOptions.key("row-kinds-filtered")
+            .stringType()
+            .defaultValue("+I&-U&+U&-D")
+            .withDescription("row kinds to be filtered, "
+                + "the format follows rowKind1&rowKind2, supported row kinds are "
+                + "\"+I\" represents INSERT.\n"
+                + "\"-U\" represents UPDATE_BEFORE.\n"
+                + "\"+U\" represents UPDATE_AFTER.\n"
+                + "\"-D\" represents DELETE.");

Review Comment:
   Here ,`filter` respresents retention data, maybe add description.



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

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