eclipse-vertx / vert.x

Vert.x is a tool-kit for building reactive applications on the JVM
http://vertx.io
Other
14.32k stars 2.08k forks source link

Vertx lifecycle hook for VertxBuilder customization #5288

Closed tsegismont closed 2 months ago

tsegismont commented 2 months ago

Given methods like TracingOptions#setTracer have been deprecated, a new hook can help users configure the Vert.x instance.

tsegismont commented 2 months ago

For now, just a draft for discussion.

@vietj it's not possible to use the public builder here without breaking the command launcher API.

If we introduce this new method in Vert.x 4, it's going to change a little bit in Vert.x 5. A little change, but still a breaking one, that we need to be aware of.

If we agree on doing this, I'll add a test to the PR

vietj commented 2 months ago

I'm good for a breaking change here given it's an API that fades away in 5

tsegismont commented 2 months ago

@vietj PTAL