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: Allow backported ALPN to be used and warn if no OpenSSL #5818

Merged
merged 1 commit into from
Jul 14, 2020

Conversation

purplefox
Copy link
Contributor

Description

Fixes: #5799

This PR:

  1. Upgrades to Vert.x 3.9.1. This depends on Netty 4.1.49.Final which includes code which allows the backported ALPN implementation that is present in JDK 1.8.0_252 to be used. This means that if the user has configured ksqlDB for TLS and does not have OpenSSL installed and is using an up to date version of Java 8 then ksqlDB will successfully fall back to using the JDK TLS implementation and the ALPN implementation that was backported to Open JDK 1.8.0_252 from OpenJDK 9. Users with older versions of Java 8 should update their Java 8 version.

  2. Logs a warning if OpenSSL is not installed. It's preferable to use OpenSSL for performance reasons. Most systems will have this pre-installed, but if not a warning will be logged so the user is aware of this and can install it.

Testing done

Manually tested.

Reviewer checklist

  • Ensure docs are updated if necessary. (eg. if a user visible feature is being added or changed).
  • Ensure relevant issues are linked (description should include text like "Fixes #")

@purplefox purplefox requested a review from a team as a code owner July 13, 2020 10:49
@purplefox purplefox self-assigned this Jul 13, 2020
…allows backported ALPN in JDK 1.8.0_252 to be used, and provide warning if openSSL is not installed
Copy link
Contributor

@vcrfxia vcrfxia left a comment

Choose a reason for hiding this comment

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

LGTM -- thanks! The linked issue reported this problem on 6.0.x so I assume this will be backported as well?

@purplefox purplefox merged commit 6a09ee5 into confluentinc:master Jul 14, 2020
purplefox added a commit that referenced this pull request Jul 14, 2020
…allows backported ALPN in JDK 1.8.0_252 to be used, and provide warning if openSSL is not installed (#5818)
@purplefox
Copy link
Contributor Author

I have cherry-picked this to 6.0.x too

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.

KSQL on 6.0.x branch fails to start if OpenSSL is not installed on the host.
2 participants