Sharded cluster unblocked. Bump debezium version and base image - #83705
Sharded cluster unblocked. Bump debezium version and base image#83705Rodi Reich Zilberman (rodireich) wants to merge 1 commit into
Conversation
👋 Greetings, Airbyte Team Member!Here are some helpful tips and reminders for your convenience. 💡 Show Tips and TricksPR Slash CommandsAirbyte Maintainers (that's you!) can execute the following slash commands on your PR:
📚 Show Repo GuidanceHelpful Resources
|
|
Note Autopilot progressive rollouts are not enabled for the following modified connector(s):
This is a courtesy heads-up only — it does not block merge or fail any check. |
There was a problem hiding this comment.
Pull request overview
This PR appears to unblock MongoDB sharded cluster usage for the source-mongodb-v2 connector while also updating build/runtime dependencies (Debezium and the Java connector base image) to newer versions.
Changes:
- Relax the MongoDB source
checkbehavior so non–replica set cluster types no longer fail the connection check. - Bump
source-mongodb-v2base image and connector image tag, and update Debezium test-harness dependencies. - Update
source-postgresconnector CDK version configuration (currently set tolocal).
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| airbyte-integrations/connectors/source-postgres/gradle.properties | Changes CDK version resolution for the source-postgres connector. |
| airbyte-integrations/connectors/source-mongodb-v2/src/main/java/io/airbyte/integrations/source/mongodb/MongoDbSource.java | Adjusts source check behavior/logging for non–replica set cluster types. |
| airbyte-integrations/connectors/source-mongodb-v2/metadata.yaml | Updates base image digest/tag and bumps connector docker image tag. |
| airbyte-integrations/connectors/source-mongodb-v2/build.gradle | Updates Debezium dependencies used by the Debezium test harness configuration. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| if (!ClusterType.REPLICA_SET.equals(mongoClient.getClusterDescription().getType())) { | ||
| LOGGER.error("Target MongoDB instance is not a replica set cluster."); | ||
| return new AirbyteConnectionStatus() | ||
| .withMessage("Target MongoDB instance is not a replica set cluster.") | ||
| .withStatus(AirbyteConnectionStatus.Status.FAILED); | ||
| LOGGER.warn("Target MongoDB instance is not a replica set cluster.{}", mongoClient.getClusterDescription().getType()); | ||
| } |
| debeziumTestImplementation 'io.debezium:debezium-embedded:3.6.0.Final' | ||
| debeziumTestImplementation 'io.debezium:debezium-connector-mongodb:3.6.0.Final' |
| testExecutionConcurrency=-1 | ||
| JunitMethodExecutionTimeout=5m | ||
| cdkVersion=1.1.8 | ||
| cdkVersion=local |
|
Note Detected that there are differences in the Gradle dependencies. |
|
|
What
How
Review guide
User Impact
Can this PR be safely reverted and rolled back?