You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This upgrade involves multiple high-impact major version changes, most notably for Apache Kafka, which requires significant architectural and environmental updates.
1. HIGH RISK: Apache Kafka (connect-runtime, kafka_2.13) 3.4.0 → 4.x
The upgrade to Apache Kafka 4.x is a major architectural overhaul with significant breaking changes. Direct upgrades will fail. Careful planning and a multi-stage migration are required.
Key Breaking Changes:
ZooKeeper Removed: Kafka 4.0 and later run exclusively in KRaft mode. ZooKeeper mode is completely removed. Clusters must be migrated to KRaft before upgrading to version 4.0.
Java 17 Required: Kafka Brokers and Kafka Connect now require Java 17 to run. Kafka Clients and Streams require a minimum of Java 11.
API Removals: Many APIs that were deprecated in previous versions have been removed in 4.0. Code using these old APIs will break and must be updated.
Jakarta EE Upgrade: Kafka Connect has been upgraded to use Jakarta EE 10 APIs, which may impact compatibility with other applications.
Recommendation: Do not merge this upgrade directly. A dedicated migration project is necessary. The standard path involves upgrading to an intermediate "bridge" release (e.g., Kafka 3.9) to migrate metadata from ZooKeeper to KRaft before finally upgrading to version 4.x.
2. MEDIUM RISK: Debezium Core (debezium-core) 2.6.1 → 3.5.0
This major version upgrade for Debezium introduces a mandatory runtime environment change.
Key Breaking Changes:
Java 17 Required: Debezium 3.x requires a Java 17 runtime environment for all connectors. Components like Debezium Server or Operator require Java 21.
Kafka 3.8+ Baseline: Debezium 3.x is built and tested against Kafka 3.8+, adapting to internal API changes.
Recommendation: Ensure the production environment and any build pipelines are using Java 17 or newer before applying this upgrade. The risk is medium as it's an environment change that requires validation but is less complex than the Kafka architectural migration.
Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to fix 1 vulnerabilities in the maven dependencies of this project.
Snyk changed the following file(s):
pom.xmlVulnerabilities that will be fixed with an upgrade:
SNYK-JAVA-COMFASTERXMLJACKSONCORE-21761837
2.6.1.Final->3.5.0.Finalorg.apache.kafka:connect-runtime:
3.4.0->4.0.0org.apache.kafka:kafka_2.13:
3.4.0->4.4.0Major version upgradeNo Path FoundProof of ConceptBreaking Change Risk
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Deserialization of Untrusted Data