fix: replace deprecated ObjectNode.fields usage in source-mysql#75531
fix: replace deprecated ObjectNode.fields usage in source-mysql#75531Constantine Kim 김현진 (elegantcoder) wants to merge 1 commit intoairbytehq:masterfrom
Conversation
|
Note 📝 PR Converted to Draft More info...Thank you for creating this PR. As a policy to protect our engineers' time, Airbyte requires all PRs to be created first in draft status. Your PR has been automatically converted to draft status in respect for this policy. As soon as your PR is ready for formal review, you can proceed to convert the PR to "ready for review" status by clicking the "Ready for review" button at the bottom of the PR page. To skip draft status in future PRs, please include |
c136591 to
301fc09
Compare
👋 Welcome to Airbyte!Thank you for your contribution from elegantcoder/airbyte! We're excited to have you in the Airbyte community. If you have any questions, feel free to ask in the PR comments or join our Slack community. 💡 Show Tips and TricksPR Slash CommandsAs needed or by request, Airbyte Maintainers can execute the following slash commands on your PR:
Tips for Working with CI
📚 Show Repo GuidanceHelpful Resources
|
|
|
301fc09 to
198e64d
Compare
What
Replace deprecated Jackson
ObjectNode.fields()usage insource-mysqlwithproperties(), and bump the connector's pinned Bulk CDK version from0.1.77to0.2.8.The deprecated Jackson call was the immediate CI failure, but while reproducing it we also found that
source-mysqlno longer compiles cleanly against the stale published Bulk CDK pin onmaster. Updating the pin to the current published0.2.8artifact restores the connector classpath and keeps the connector green.Related context:
How
MySqlSourceDebeziumOperations.deserializeStateUnvalidated()to iterate withObjectNode.properties()instead of the deprecatedfields()APIsource-mysql's pinned Bulk CDK version from0.1.77to0.2.83.51.6Review guide
airbyte-integrations/connectors/source-mysql/src/main/kotlin/io/airbyte/integrations/source/mysql/MySqlSourceDebeziumOperations.ktairbyte-integrations/connectors/source-mysql/gradle.propertiesairbyte-integrations/connectors/source-mysql/metadata.yamldocs/integrations/sources/mysql.mdUser Impact
This avoids connector compatibility failures caused by deprecated Jackson APIs being treated as errors, and updates
source-mysqlto a published Bulk CDK version that matches the current connector sources. There are no source config changes expected for users.Can this PR be safely reverted and rolled back?