Skip to content

[FLINK-38123] Upgrade flink version in the autoscaling example #1004

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kaygorodov
Copy link
Contributor

@kaygorodov kaygorodov commented Aug 3, 2025

What is the purpose of the change

The autoscaling example image is based on Flink 1.18 rather than 1.20.1.

Brief change log

  • Upgrades Flink and Java version for the base image to align it with the version in the parent pom that are used to build the autoscaling example jar which are 1.20.1 (flink.version) and java 17 (maven.compiler.source)
  • Removes the usage of deprecated Flink API switching to the new APIs (second commit)

Verifying this change

I manually build the image and tested the example locally (autoscaling-dynamic.yaml).

DOCKER_BUILDKIT=1 docker build . -t autoscaling-example:latest
apply -f autoscaling-dynamic.yaml 
Screenshot 2025-08-03 at 9 20 20 PM Screenshot 2025-08-03 at 9 16 48 PM

Does this pull request potentially affect one of the following parts:

  • Dependencies (does it add or upgrade a dependency): (no)
  • The public API, i.e., is any changes to the CustomResourceDescriptors: (no)
  • Core observer or reconciler logic that is regularly executed: (no)

Documentation

  • Does this pull request introduce a new feature? (no)
  • If yes, how is the feature documented? (not applicable)

@kaygorodov kaygorodov changed the title [FLINK-38123] Upgrade flink version autscaling example [FLINK-38123] Upgrade flink version in the autoscaling example Aug 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant