Repository navigation
[Server] Bump Vert.x to 5.2.2 and drop the unused vertx-web dependency - #2035
Closed
s-maling-celonis wants to merge 1 commit into
Closed
s-maling-celonis wants to merge 1 commit into
s-maling-celonis wants to merge 1 commit into
Conversation
Vert.x 4.5 is built against Netty 4.1, but the server pins Netty 4.2 for Armeria, so the URL transcoder in front of every request runs on a Netty generation Vert.x 4.5 was not built for. Vert.x 5 is built on Netty 4.2. The 4.5 line is also maintenance-only. Vert.x 5.2.2 brings Netty 4.2.19 modules, so nettyVersion moves from 4.2.18 to 4.2.19 to keep netty-all on the same patch release. Two API changes in URLTranscoderVerticle (and the same one in its test): - HttpServer.listen(port, handler) is gone; use listen(port) and onComplete. - The connection pool size moved from WebClientOptions.setMaxPoolSize to PoolOptions.setHttp1MaxSize, passed to WebClient.create. The Vert.x 5 default is still 5, so dropping it would silently cap the proxy below the Armeria blocking pool. Nothing imports io.vertx.ext.web outside the client package, so vertx-web is removed. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: s-maling-celonis <[email protected]>
s-maling-celonis
requested review from
openinx,
tdas and
yili-db
as code owners
October 23, 2026 07:26
3 of 4 tasks
Collaborator
|
/review |
Collaborator
|
|
Collaborator
|
Actually, #1979 is going to remove it. |
Contributor
Author
Yes, this was just to show the alternative, now we are happy with the direction of removing vertx, I will close this PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Checklist
docsis updatedDescription of changes
vertx-coreandvertx-web-clientfrom 4.5.34 to 5.2.2.vertx-web. Nothing importsio.vertx.ext.weboutside the client package.nettyVersionfrom 4.2.18 to 4.2.19. Vert.x 5.2.2 pulls in Netty 4.2.19 modules, so without this change the classpath would mixnetty-all4.2.18 with 4.2.19 modules.URLTranscoderVerticleand its test for the Vert.x 5 API.Why:
Code changes:
HttpServer.listen(port, handler)is removed in Vert.x 5, so the code now useslisten(port).onComplete(...). It still completes or fails the start promise the same way, so a bind failure still fails deployment.WebClientOptions.setMaxPoolSizetoPoolOptions.setHttp1MaxSize, which is passed toWebClient.create. Vert.x 5 still defaults to 5 connections, so dropping the setting would quietly cap the proxy below the Armeria blocking pool.No user-facing behavior change.
Testing:
build/sbt "server/testOnly io.unitycatalog.server.URLTranscoderVerticleTest"on JDK 17: 7/7 pass. This covers the pool cap, a pool larger than the Vert.x default, and failed deployment when the port is taken.build/sbt javafmtCheckAllpasses.🤖 Generated with Claude Code