-
Notifications
You must be signed in to change notification settings - Fork 213
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
Integrate CDC data from MySQL/Postgres/MongoDb data source #3313
Conversation
Signed-off-by: Haidong <[email protected]>
Signed-off-by: Haidong <[email protected]>
Signed-off-by: Haidong <[email protected]>
Signed-off-by: Haidong <[email protected]>
Signed-off-by: Haidong <[email protected]>
Signed-off-by: Haidong <[email protected]>
Signed-off-by: Haidong <[email protected]>
Signed-off-by: Haidong <[email protected]>
Signed-off-by: Haidong <[email protected]>
data-prepper-plugins/kafka-connect-plugins/src/test/resources/sample-mysql-pipeline.yaml
Show resolved
Hide resolved
data-prepper-plugins/kafka-connect-plugins/src/test/resources/sample-mysql-pipeline.yaml
Outdated
Show resolved
Hide resolved
data-prepper-plugins/kafka-connect-plugins/src/test/resources/sample-postgres-pipeline.yaml
Outdated
Show resolved
Hide resolved
data-prepper-plugins/kafka-connect-plugins/src/test/resources/sample-postgres-pipeline.yaml
Outdated
Show resolved
Hide resolved
data-prepper-plugins/kafka-connect-plugins/src/test/resources/sample-mongodb-pipeline.yaml
Outdated
Show resolved
Hide resolved
…pshot performance. Signed-off-by: Haidong <[email protected]>
build.gradle
Outdated
} | ||
because 'CVE from transitive dependencies' | ||
} | ||
implementation('org.eclipse.jetty:jetty-server') { | ||
version { | ||
require '11.0.15' | ||
require '9.4.51.v20230217' |
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.
Can we exclude Jetty from the Debezium project instead?
.../main/java/org/opensearch/dataprepper/plugins/kafkaconnect/extension/KafkaConnectConfig.java
Outdated
Show resolved
Hide resolved
...main/java/org/opensearch/dataprepper/plugins/kafkaconnect/configuration/ConnectorConfig.java
Show resolved
Hide resolved
...rc/main/java/org/opensearch/dataprepper/plugins/kafkaconnect/extension/WorkerProperties.java
Outdated
Show resolved
Hide resolved
.../src/main/java/org/opensearch/dataprepper/plugins/kafkaconnect/util/SecretManagerHelper.java
Show resolved
Hide resolved
@@ -39,6 +39,8 @@ dependencyResolutionManagement { | |||
library('bouncycastle-bcpkix', 'org.bouncycastle', 'bcpkix-jdk18on').versionRef('bouncycastle') | |||
version('guava', '32.0.1-jre') | |||
library('guava-core', 'com.google.guava', 'guava').versionRef('guava') | |||
version('reflections', '0.9.12') |
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.
This downgrade is still a problem. What options do we have to support the latest version?
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.
@dlvenable can you elaborate the problem here ? Kafka Connect is planning to move away from reflection as part of https://issues.apache.org/jira/browse/KAFKA-14627. This is part of 3.6 release which be sometime soon.
Signed-off-by: Haidong <[email protected]>
Signed-off-by: Haidong <[email protected]>
} | ||
|
||
@Override | ||
public void start(Buffer<Record<Object>> buffer) { |
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.
The Buffer
isn't used. I understand that this will use the Kafka buffer. But, there should be some tighter connection here. What we don't want is for users to have a Data Prepper buffer that is different from the Kafka Connect topic.
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.
We can solve that in documentation/guidance. In OSDP, customers can use their own Kafka as buffer where the topic is filled in by customers. In OSI, we have shared MSK, and the topic is unique. (it is in the design doc)
Signed-off-by: Haidong <[email protected]>
…o feat-cdc # Conflicts: # build.gradle
Signed-off-by: Haidong <[email protected]>
Signed-off-by: Haidong <[email protected]>
Signed-off-by: Haidong <[email protected]>
# Conflicts: # data-prepper-plugins/kafka-plugins/src/integrationTest/java/org/opensearch/dataprepper/plugins/kafka/source/KafkaSourceJsonTypeIT.java # data-prepper-plugins/kafka-plugins/src/integrationTest/java/org/opensearch/dataprepper/plugins/kafka/source/KafkaSourceMultipleAuthTypeIT.java # data-prepper-plugins/kafka-plugins/src/integrationTest/java/org/opensearch/dataprepper/plugins/kafka/source/MskGlueRegistryMultiTypeIT.java # data-prepper-plugins/kafka-plugins/src/main/java/org/opensearch/dataprepper/plugins/kafka/configuration/EncryptionConfig.java # data-prepper-plugins/kafka-plugins/src/main/java/org/opensearch/dataprepper/plugins/kafka/configuration/KafkaSourceConfig.java # data-prepper-plugins/kafka-plugins/src/main/java/org/opensearch/dataprepper/plugins/kafka/source/KafkaSource.java # data-prepper-plugins/kafka-plugins/src/main/java/org/opensearch/dataprepper/plugins/kafka/util/KafkaSecurityConfigurer.java # data-prepper-plugins/kafka-plugins/src/test/java/org/opensearch/dataprepper/plugins/kafka/source/KafkaSourceTest.java # data-prepper-plugins/kafka-plugins/src/test/resources/sample-pipelines.yaml
Signed-off-by: Haidong <[email protected]>
…tform Signed-off-by: Haidong <[email protected]>
…nect-Plugin, which minimize the impact to other plugins. Signed-off-by: Haidong <[email protected]>
Signed-off-by: Haidong <[email protected]>
# Conflicts: # settings.gradle
Signed-off-by: Haidong <[email protected]>
# Conflicts: # build.gradle # data-prepper-plugins/kafka-plugins/build.gradle # settings.gradle
Signed-off-by: Haidong <[email protected]>
Signed-off-by: Haidong <[email protected]>
Description
Integrate with Kafka Connect and Debezium MySQL/Postgres/MongoDb plugin for CDC
Issues Resolved
Resolves #3233 #3234 #3235
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.