Skip to content

[fix][jdk17] Enable Netty and BookKeeper IO optimizations on jdk17#15256

Merged
lhotari merged 1 commit into
apache:masterfrom
nicoloboschi:pulsar-bk-native-warning-part2
Apr 22, 2022
Merged

[fix][jdk17] Enable Netty and BookKeeper IO optimizations on jdk17#15256
lhotari merged 1 commit into
apache:masterfrom
nicoloboschi:pulsar-bk-native-warning-part2

Conversation

@nicoloboschi

Copy link
Copy Markdown
Contributor

Motivation

Follow up of #14999.

Based on netty/netty#12265 and apache/bookkeeper#3234 it is better to open other modules.

Modifications

  • Open java.base/java.util.zip module for BookKeeper
  • Open java.base/jdk.internal.misc module for Netty

Note that the functions worker will spawn the process without these optimizations. It could be useful in case the connector uses Netty. Very unlikely that the function uses BookKeeper. I can follow up the Netty ones in another pull (with a lower priority).

  • no-need-doc

@lhotari lhotari left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Great stuff!

@github-actions github-actions Bot added the doc-not-needed Your PR changes do not impact docs label Apr 21, 2022
@michaeljmarshall

Copy link
Copy Markdown
Member

Very unlikely that the function uses BookKeeper.

@nicoloboschi - a function instance connects to bookkeeper when running stateful functions. I don't know any helpful client internals to determine if we'd need to look closer, though.

@lhotari

lhotari commented Apr 22, 2022

Copy link
Copy Markdown
Member

/pulsarbot rerun-failure-checks

@lhotari

lhotari commented Apr 22, 2022

Copy link
Copy Markdown
Member

/pulsarbot rerun-failure-checks

1 similar comment
@nicoloboschi

Copy link
Copy Markdown
Contributor Author

/pulsarbot rerun-failure-checks

@lhotari
lhotari merged commit 2d12011 into apache:master Apr 22, 2022
@nicoloboschi
nicoloboschi deleted the pulsar-bk-native-warning-part2 branch April 29, 2022 08:19
nicoloboschi added a commit to datastax/pulsar that referenced this pull request Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-not-needed Your PR changes do not impact docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants