Skip to content

[FLINK-39857] Upgrade Pekko to 1.6.0#28314

Merged
snuyanzin merged 2 commits into
apache:masterfrom
snuyanzin:flink39857
Jun 5, 2026
Merged

[FLINK-39857] Upgrade Pekko to 1.6.0#28314
snuyanzin merged 2 commits into
apache:masterfrom
snuyanzin:flink39857

Conversation

@snuyanzin
Copy link
Copy Markdown
Contributor

What is the purpose of the change

The PR bumps Pekko to 1.6.0 (tested against java25 and scala2.12.21 in Pekko's ci)

Brief change log

pom, NOTICE

Verifying this change

existing tests

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

  • Dependencies (does it add or upgrade a dependency): (yes )
  • The public API, i.e., is any changed class annotated with @Public(Evolving): ( no)
  • The serializers: (no)
  • The runtime per-record code paths (performance sensitive): (no)
  • Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
  • The S3 file system connector: ( no)

Documentation

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

Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

@flinkbot
Copy link
Copy Markdown
Collaborator

flinkbot commented Jun 4, 2026

CI report:

Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

@jnh5y
Copy link
Copy Markdown
Contributor

jnh5y commented Jun 4, 2026

From the release notes https://pekko.apache.org/docs/pekko/current/release-notes/releases-1.5.html and https://pekko.apache.org/docs/pekko/current/release-notes/releases-1.6.html, 1.6 is trivial.

1.5 does change some dependencies:

netty 4.2.10.Final
jackson 2.21.2
protobuf-java 4.33.5
config 1.4.6
lz4-java 1.10.4

I have two concerns:

typesafe config 1.4.2 -> 1.4.6: Currently pinned to 1.4.2 in flink-rpc/flink-rpc-akka/pom.xml:143. Pekko 1.6 likely requires 1.4.6

protobuf-java 4.33.5 Looks like the protoc.version is 4.32.1 and may be used to managed protobuf-java elsewhere.

Do we need to think through that? Maybe relocate this version in the flink-rpc-akka module?

@snuyanzin
Copy link
Copy Markdown
Contributor Author

look at ./mvnw dependency:tree for flink-rpc-akka

INFO] +- org.apache.pekko:pekko-actor_2.12:jar:1.6.0:compile (optional) 
[INFO] |  +- org.scala-lang:scala-library:jar:2.12.21:compile (optional) 
[INFO] |  +- org.scala-lang.modules:scala-java8-compat_2.12:jar:1.0.2:compile (optional) 
[INFO] |  \- com.typesafe:config:jar:1.4.2:compile (optional) 
[INFO] +- org.apache.pekko:pekko-remote_2.12:jar:1.6.0:compile (optional) 
[INFO] |  +- org.apache.pekko:pekko-stream_2.12:jar:1.6.0:compile (optional) 
[INFO] |  |  +- org.apache.pekko:pekko-protobuf-v3_2.12:jar:1.6.0:compile (optional) 
[INFO] |  |  +- org.reactivestreams:reactive-streams:jar:1.0.4:compile (optional) 
[INFO] |  |  \- com.typesafe:ssl-config-core_2.12:jar:0.7.1:compile (optional) 
[INFO] |  +- org.apache.pekko:pekko-pki_2.12:jar:1.6.0:compile (optional) 
[INFO] |  |  \- com.hierynomus:asn-one:jar:0.6.0:compile (optional) 
[INFO] |  \- org.agrona:agrona:jar:1.22.0:compile (optional) 
[INFO] +- org.apache.pekko:pekko-slf4j_2.12:jar:1.6.0:compile (optional) 

@snuyanzin
Copy link
Copy Markdown
Contributor Author

snuyanzin commented Jun 5, 2026

we don't use pekko's protobuf v4
instead we use v3
updated config

Copy link
Copy Markdown
Contributor

@jnh5y jnh5y left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good; thanks for updating the typesafe config.

@snuyanzin snuyanzin merged commit 7a915ff into apache:master Jun 5, 2026
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.

3 participants