quarkusio / quarkus-quickstarts

Quarkus quickstart code
https://quarkus.io
Apache License 2.0
1.97k stars 1.47k forks source link

The guide of "Using Eclipse Vert.x API from a Quarkus Application" did't updated to the latest version? #1432

Closed startcodeing closed 4 months ago

startcodeing commented 4 months ago

i want to fllow the guide of "Using Eclipse Vert.x API from a Quarkus Application" to write a demo,i don't found the method onItem() in the blow picture,i got the latest version of quarkus, 1719922091310

geoand commented 4 months ago

cc @cescoffier @jponge

cescoffier commented 4 months ago

Can you tell me the fully qualified name of the Vert.x class?

jponge commented 4 months ago

I guess the issue is using io.vertx.core.Vertx and not io.vertx.mutiny.core.Vertx.

I've checked and the readFile method in the Mutiny bindings does return a Uni<Buffer>.

startcodeing commented 4 months ago

@jponge i think you are right,i shoud use io.vertx.mutiny.core.Vertx instead of io.vertx.core.Vertx,sorry for trouble you guys