-
Notifications
You must be signed in to change notification settings - Fork 534
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
[INLONG-7908][Sort] PostgreSQL connector supports parallel read #8664
Conversation
@kuansix, please add more description for this PR. |
...t-flink/cdc-base/src/main/java/org/apache/inlong/sort/cdc/base/source/IncrementalSource.java
Outdated
Show resolved
Hide resolved
...in/java/org/apache/inlong/sort/cdc/base/debezium/table/RowDataDebeziumDeserializeSchema.java
Outdated
Show resolved
Hide resolved
Please check the ut and compile thanks |
done |
done |
...ctors/postgres-cdc/src/main/java/io/debezium/connector/postgresql/PostgresObjectFactory.java
Show resolved
Hide resolved
...java/org/apache/inlong/sort/cdc/base/source/assigner/state/PendingSplitsStateSerializer.java
Outdated
Show resolved
Hide resolved
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/postgres-cdc/pom.xml
Outdated
Show resolved
Hide resolved
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/postgres-cdc/pom.xml
Show resolved
Hide resolved
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/postgres-cdc/pom.xml
Show resolved
Hide resolved
...gres-cdc/src/main/java/org/apache/inlong/sort/cdc/postgres/source/options/SourceOptions.java
Outdated
Show resolved
Hide resolved
...rt-flink/cdc-base/src/main/java/org/apache/inlong/sort/cdc/base/config/JdbcSourceConfig.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.
Please add a test on parallel read and I guess some of the classes can reuse flink-cdc rather than copying them
.../src/main/java/org/apache/inlong/sort/cdc/postgres/source/options/PostgresSourceOptions.java
Show resolved
Hide resolved
...in/java/org/apache/inlong/sort/cdc/base/relational/connection/JdbcConnectionPoolFactory.java
Outdated
Show resolved
Hide resolved
...in/java/org/apache/inlong/sort/cdc/base/source/meta/offset/OffsetDeserializerSerializer.java
Outdated
Show resolved
Hide resolved
...dc/src/main/java/org/apache/inlong/sort/cdc/postgres/source/config/PostgresSourceConfig.java
Outdated
Show resolved
Hide resolved
...dc/src/main/java/org/apache/inlong/sort/cdc/postgres/source/config/PostgresSourceConfig.java
Outdated
Show resolved
Hide resolved
1.add a test (done) |
...-base/src/main/java/org/apache/inlong/sort/cdc/base/source/assigner/HybridSplitAssigner.java
Outdated
Show resolved
Hide resolved
...ase/src/main/java/org/apache/inlong/sort/cdc/base/source/reader/IncrementalSourceReader.java
Show resolved
Hide resolved
...src/main/java/org/apache/inlong/sort/cdc/oracle/source/config/OracleSourceConfigFactory.java
Outdated
Show resolved
Hide resolved
…he#8664) Co-authored-by: e-mhui <[email protected]>
Prepare a Pull Request
Motivation
Enable incremental snapshot (support parallel read) and adapt metrics for PostgreSQL CDC.
Modifications
1. package
org.apache.inlong.sort.cdc.postgres.source
scan.incremental.snapshot.enabled=true
.2.package
io.debezium.connector.postgresql
3.package
org.apache.inlong.sort.cdc.base
Documentation
Documentation