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

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

Merged
merged 1 commit into from
Apr 22, 2022

Conversation

nicoloboschi
Copy link
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

Copy link
Member

@lhotari lhotari left a comment

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
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
Copy link
Member

lhotari commented Apr 22, 2022

/pulsarbot rerun-failure-checks

@lhotari
Copy link
Member

lhotari commented Apr 22, 2022

/pulsarbot rerun-failure-checks

1 similar comment
@nicoloboschi
Copy link
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