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

Unix Domain Socket support with JDK16+ #5361

Merged
merged 3 commits into from
Nov 6, 2024

Conversation

tsegismont
Copy link
Contributor

Since Netty 4.1.110.Final, Unix Domain Sockets are available with NIO transport. https://netty.io/news/2024/05/22/4-1-110-Final.html

This changes the Vert.x JDKTransport to support Unix Domain Sockets without native transports when a JDK16+ is used.

@tsegismont
Copy link
Contributor Author

Still a draft PR, the doc must be updated.

@tsegismont tsegismont added this to the 5.0.0 milestone Oct 18, 2024
@tsegismont tsegismont requested a review from vietj October 18, 2024 15:21
@tsegismont
Copy link
Contributor Author

Also, waiting for #5320 to be merged before updating

@tsegismont
Copy link
Contributor Author

@vietj I've rebased the PR, since you have merged #5320 already.

For the docs, I'm inclined to:

  • remove the domain sockets section nested in native transports
  • add examples of domain socket client/server in both the net.adoc and http.adoc files, with a reference to the native transports section for those who don't use JDK 16 and above

Fine with you?

@vietj
Copy link
Member

vietj commented Oct 18, 2024

@tsegismont makes sense

@tsegismont tsegismont marked this pull request as ready for review October 29, 2024 18:14
@tsegismont tsegismont requested a review from vietj October 29, 2024 18:14
@tsegismont
Copy link
Contributor Author

@vietj the doc has been updated and the PR is now ready for review.

@vietj
Copy link
Member

vietj commented Nov 6, 2024

@tsegismont can you rebase on latest master ?

Since Netty 4.1.110.Final, Unix Domain Sockets are available with NIO transport.
https://netty.io/news/2024/05/22/4-1-110-Final.html

This changes the Vert.x JDKTransport to support Unix Domain Sockets without native transports when a JDK16+ is used.

Signed-off-by: Thomas Segismont <[email protected]>
Removed the domain sockets section nested in native transports.
Added examples of domain socket client/server in both the net.adoc and http.adoc files, with a reference to the native transports section for those who don't use JDK 16 and above.

Signed-off-by: Thomas Segismont <[email protected]>
@tsegismont
Copy link
Contributor Author

@tsegismont can you rebase on latest master ?

Done

@vietj vietj merged commit 38207b5 into eclipse-vertx:master Nov 6, 2024
8 checks passed
@tsegismont tsegismont deleted the jdk-domain-socket branch November 6, 2024 16:35
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.

2 participants