-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Db2 cdc connector (cp from #450) #1626
Conversation
5a7eb09
to
3c205fa
Compare
Thanks @ruanhang1993 for picking up the hanging task, @GOODBOY008 Would you like to take a look this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ruanhang1993 Thanks for your contributions. Should add e2e
test and metadata columns
support.
flink-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/Db2Source.java
Outdated
Show resolved
Hide resolved
flink-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/Db2Source.java
Outdated
Show resolved
Hide resolved
} | ||
|
||
@Test | ||
public void testConsumingAllEvents() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should add timezone unit test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually the time zone information for the timestamp types will not be contained in the debezium db2 connector. IMO this time zone setting may be useless.
...k-connector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/table/StartupOptions.java
Outdated
Show resolved
Hide resolved
flink-connector-db2-cdc/src/test/java/com/ververica/cdc/connectors/db2/Db2TestBase.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ruanhang1993 LGTM , @leonardBang Pls cc.
flink-cdc-e2e-tests/src/test/java/com/ververica/cdc/connectors/tests/Db2E2eITCase.java
Outdated
Show resolved
Hide resolved
...nector-db2-cdc/src/main/java/com/ververica/cdc/connectors/db2/table/Db2ReadableMetaData.java
Show resolved
Hide resolved
flink-connector-db2-cdc/src/test/java/com/ververica/cdc/connectors/db2/Db2TestBase.java
Outdated
Show resolved
Hide resolved
@ruanhang1993 DB2 unit test is not runned , you can modify file in directory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @ruanhang1993 and @GOODBOY008 for the great work. LGTM, I've checked the tutorial it works well.
Implemented in 3592dcc |
Support Db2 cdc connector , cherry pick from #450 .