tkaymak opened a new issue, #34747: URL: https://github.com/apache/beam/issues/34747
### What needs to happen? Upgrade the Debezium IO connector (sdks:java:io:debezium) to Debezium version 3.1.1.Final. This version of Debezium requires its dependencies (like debezium-core) to be compiled against [Java 17](https://debezium.io/releases/3.0/release-notes#breaking_changes_14) bytecode. @damccorm started doing something similar for Debezium 2.7.4 and created a [WIP branch](https://github.com/apache/beam/pull/34733) To manage this upgrade gracefully and make the review process smoother, split the work into a two-step PR: - PR 1 (Build Infrastructure): A smaller, focused PR to enable Java 17 compilation specifically for the sdks:java:io:debezium module. We already have infrastructure for the goal of "PR 1". We use [BeamPluginModulePlugin](https://github.com/apache/beam/blob/master/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy) to initialize java modules and there is a setJavaVerOptions method. Here is a module could be an example how compiling with different Java version works in [Beam](https://github.com/apache/beam/blob/master/sdks/java/container/agent/build.gradle). - PR 2 (Debezium 3.1.1 Upgrade & API Adaptation): A subsequent PR that would: Actually update the Debezium dependencies to 3.1.1.Final. Incorporate the necessary code changes within sdks:java:io:debezium to adapt to any API changes in Debezium 3.1.1. We'll need to handle Debezium with newer Java version as well (That's the reason test currently failing on #34733). We'll need to modify test workflow [file](https://github.com/apache/beam/blob/master/.github/workflows/beam_PreCommit_Java_Debezium_IO_Direct.yml). However due to GitHub limitation changes to .github/workflows won't be effective on unsubmitted PRs. Changes need to be tested locally first. ### Issue Priority Priority: 2 (default / most normal work should be filed as P2) ### Issue Components - [ ] Component: Python SDK - [x] Component: Java SDK - [ ] Component: Go SDK - [ ] Component: Typescript SDK - [x] Component: IO connector - [ ] Component: Beam YAML - [ ] Component: Beam examples - [ ] Component: Beam playground - [ ] Component: Beam katas - [ ] Component: Website - [ ] Component: Infrastructure - [ ] Component: Spark Runner - [ ] Component: Flink Runner - [ ] Component: Samza Runner - [ ] Component: Twister2 Runner - [ ] Component: Hazelcast Jet Runner - [ ] Component: Google Cloud Dataflow Runner -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@beam.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org