Skip to content
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

[Task]: Deprecate Java8 #31678

Open
1 of 16 tasks
Abacn opened this issue Jun 24, 2024 · 6 comments
Open
1 of 16 tasks

[Task]: Deprecate Java8 #31678

Abacn opened this issue Jun 24, 2024 · 6 comments

Comments

@Abacn
Copy link
Contributor

Abacn commented Jun 24, 2024

What needs to happen?

This should be done after #31677

Require Build Beam with Java11+. Therefore enable to use newer gradle plugins that already dropped Java8 support. The released Beam artifact should still keep Java8 compatibility.

Issue Priority

Priority: 2 (default / most normal work should be filed as P2)

Issue Components

  • Component: Python SDK
  • Component: Java SDK
  • Component: Go SDK
  • Component: Typescript SDK
  • Component: IO connector
  • Component: Beam YAML
  • Component: Beam examples
  • Component: Beam playground
  • Component: Beam katas
  • Component: Website
  • Component: Spark Runner
  • Component: Flink Runner
  • Component: Samza Runner
  • Component: Twister2 Runner
  • Component: Hazelcast Jet Runner
  • Component: Google Cloud Dataflow Runner
@Abacn
Copy link
Contributor Author

Abacn commented Jun 24, 2024

Sent a discussion on beam dev: https://lists.apache.org/thread/w5lf2tg1nlk77so2p39cqphr1gqbh72s

@Abacn
Copy link
Contributor Author

Abacn commented Jul 24, 2024

#31896 : gcs-connector 3 dropped Java 8 support

#32551 : com.pswidersk.terraform-plugin 1.1.1 dropped Java8 support

@Abacn
Copy link
Contributor Author

Abacn commented Sep 11, 2024

This comment tracks current blockers (some test has to run on Java8):

@clairemcginty
Copy link
Contributor

Hi @Abacn, I was wondering if there was any update on dropping java 8! I'm interested in using gcs-connector 3.x with Beam.

@Abacn
Copy link
Contributor Author

Abacn commented Dec 10, 2024

Hi clairemcginty@ I raised this to Beam dev list earlier: https://lists.apache.org/thread/w5lf2tg1nlk77so2p39cqphr1gqbh72s and the feedback is that it's too early to drop Java 8 support at the moment. However Beam already support Java11,17,21 in its most component. If you want to use gcs-connector 3.x, you can configure it in your project dependency

@clairemcginty
Copy link
Contributor

clairemcginty commented Dec 10, 2024

thanks @Abacn! Unfortunately gcs-connector 3.x can't just be bumped on the user side -- there were breaking API changes and the internals of org.apache.beam.sdk.extensions.gcp.util.GcsUtil throw a MethodNotFound error, see here: https://github.com/apache/beam/pull/31898/files#r1678629888 So gcs-connector 3 is blocked on Beam upgrading to Java 11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants