You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SSE streaming fails on Quarkus 4 with NoSuchMethodError in SseResponseWriter #1366
On Quarkus 4 (Vert.x 5), every SendStreamingMessage over JSON-RPC fails with HTTP 500, while SendMessage works:
java.lang.NoSuchMethodError: 'void io.vertx.core.http.HttpServerResponse.write(java.lang.Object, io.vertx.core.Handler)'
at org.a2aproject.sdk.server.common.quarkus.SseResponseWriter$1.onNext(SseResponseWriter.java:116)
at org.a2aproject.sdk.server.common.quarkus.SseResponseWriter$1.onNext(SseResponseWriter.java:67)
at io.smallrye.mutiny.subscription.MultiSubscriberAdapter.onItem(MultiSubscriberAdapter.java:27)
...
at org.a2aproject.sdk.transport.jsonrpc.handler.JSONRPCHandler$1.onNext(JSONRPCHandler.java:799)
SseResponseWriter writes each event with response.write(data, ar -> ...), and Vert.x 5 removed the callback variants in favour of the Future returning ones. The REST routes go through the same writer. main still has that call, and building the SDK against Quarkus 4 also fails to compile in VertxA2AHttpClient for the same reason (sendBuffer(Buffer, Handler), send(Handler), WriteStream.end()).
I found it while moving the A2A server of quarkus-langchain4j to Quarkus 4.
Reproducer
A Quarkus app with only a2a-java-sdk-reference-jsonrpc:1.5.1.Final, the hello world card (with streaming(true)) and executor from examples/helloworld/server, a2a.authorization.required=false, and this test:
I'd like to take this one. The plan is to switch these calls to the Future-returning variants, which exist in both Vert.x 4.5 and 5, so the SDK keeps working on Quarkus 3 too:
VertxA2AHttpClient: request.sendBuffer(body).onComplete(...) / request.send().onComplete(...), and remove the unused PlainBodyWriteStream, which overrides the Vert.x 4-only write(Buffer, Handler) and end(Handler)
I'm checking it against Quarkus 4.0.1 locally and will open a PR shortly.
Activity
suvvvv commentedon Dec 2, 2026
I'd like to take this one. The plan is to switch these calls to the Future-returning variants, which exist in both Vert.x 4.5 and 5, so the SDK keeps working on Quarkus 3 too:
SseResponseWriter:response.write(data).onComplete(...)VertxA2AHttpClient:request.sendBuffer(body).onComplete(...)/request.send().onComplete(...), and remove the unusedPlainBodyWriteStream, which overrides the Vert.x 4-onlywrite(Buffer, Handler)andend(Handler)I'm checking it against Quarkus 4.0.1 locally and will open a PR shortly.