quarkusio / quarkus-quickstarts

Quarkus quickstart code
https://quarkus.io
Apache License 2.0
1.92k stars 1.43k 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 2 days ago

startcodeing commented 3 days 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 3 days ago

cc @cescoffier @jponge

cescoffier commented 3 days ago

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

jponge commented 3 days 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 2 days 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