-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[Feature][Mongodb-CDC] Support multi-table read #8029
base: dev
Are you sure you want to change the base?
Conversation
f62fa38
to
e452278
Compare
|
||
try (Connection connection = getJdbcConnection(); | ||
PreparedStatement checkStmt = connection.prepareStatement(checkTableExistsSql)) { | ||
checkStmt.setString(1, MYSQL_DATABASE); // 或者你可以直接提供数据库名 |
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.
English support
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.
+1
@@ -55,6 +55,12 @@ public static class TableIdentifierOptions { | |||
.noDefaultValue() | |||
.withDescription("SeaTunnel Schema"); | |||
|
|||
public static final Option<List<Map<String, Object>>> TABLES_CONFIGS = |
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.
tables_configs has also appeared elsewhere
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.
In FakeOption
and BaseSourceConfigOptions
, it is used for connector-fake
and connector-file
respectively, so this configuration is added to TableSchemaOptions , whether unified configuration is necessary ?
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.
@hailin0 cc
seatunnel-api/src/main/java/org/apache/seatunnel/api/table/catalog/CatalogTableUtil.java
Outdated
Show resolved
Hide resolved
...-examples/src/main/java/org/apache/seatunnel/example/engine/SeaTunnelEngineLocalExample.java
Outdated
Show resolved
Hide resolved
seatunnel-examples/seatunnel-engine-examples/src/main/resources/log4j2.properties
Outdated
Show resolved
Hide resolved
97c0422
to
d05a94a
Compare
857ffb3
to
e3d30ba
Compare
ad9f8b2
to
539a903
Compare
539a903
to
b5661da
Compare
Purpose of this pull request
support multiTable Mongodb-CDC
close #7951
Does this PR introduce any user-facing change?
How was this patch tested?
E2E: MongodbCDCIT#testMongodbCdcMultiTableToMysqlCheckDataE2e
Check list
New License Guide
release-note
.