4,910 questions
0 votes
0 answers
41 views
quarkus build fails with 401 Unauthorized at registry-1.docker.io despite successful docker login
I can docker push a local image to dockerhub just fine, but quarkus build fails with: ... Caused by: com.google.cloud.tools.jib.api.RegistryUnauthorizedException: Unauthorized for registry-1.docker.io/...
0 votes
0 answers
30 views
Losing MDC in Quarkus ManagedExecutor
I'm starting an async-process through a REST request. As soon as the REST requests returns, I'm losing the MDC context inside my async execution code. I tried to "copy" it over with ...
0 votes
1 answer
33 views
Langchain4j and Quarkus AI Services - Not using annotated @Tool to call remote GraphQL API
I have a question about Quarkus Langchain4j. I have made this Quarkus (Java 25) project with the purpose of exposing an API that receives a search text, processes it with an "extractor” AI ...
1 vote
1 answer
74 views
How to handle multiple implementations of the same REST Interface?
I'm migrating a JBoss EAP application to Quarkus. My application has multiple implementations of the same REST service interface for failover/fallback scenarios: ManagerClientImpl - Primary HTTP ...
0 votes
0 answers
53 views
Authentication for graphql subscriptions does not work with @Authenticated
I am using Quarkus 3.27.0 and trying to secure GraphQL subscriptions with the @Authenticated annotation. I pass the Authorization header with a valid token when connecting, but the subscription ...
0 votes
1 answer
32 views
When I load all NodeEntity entities with depth = 2 and store one without depth an inconsistency appears. What have I misunderstood?
I defined these simple models @NodeEntity(label = "Api") class Api { @Id @Property(name = "name") var name: String = "name" @Suppress("unused") ...
0 votes
1 answer
43 views
Filter for Quarkus WebSocket Next to pass JWT from query param to header
In Quarkus, how do I modify HTTP headers to add "Authorization" from query parameter "jwt"? My WebSocket client is browser-based, so I can't set the header in the client. I tried ...
1 vote
1 answer
52 views
How to use identity attribute of io.quarkus.scheduler.Scheduled in log messages
I have a Java Quarkus application which is using JBoss for logging. I am using a scheduled job via io.quarkus.scheduler.Scheduled like so: private static final Logger LOGGER = Logger.getLogger(...
Best practices
0 votes
1 replies
48 views
Deployed native Quarkus application self-update - best approach?
I have a quarkus cli application I compile native. Now I want to implement a self-update feature. That is, the cli application should be capable of updating itself with the newest compiled version. ...
0 votes
2 answers
109 views
Write logs to database in quarkus application
How can I write my log messages to database in my quarkus application? I tried to create a ExtHandler like this: package org.myorg; import io.agroal.api.AgroalDataSource; import jakarta.enterprise....
1 vote
1 answer
42 views
'@WithSession("my-persistence-unit")' - Cannot find @interface method 'value()'
I am trying to follow this part of the documentation and use @WithSession("my-persistence-unit") with a named persistence unit. But I am not able to pass an any value there, so I get it only ...
1 vote
0 answers
40 views
Extension that provides and automatically assigns ClientRequest/ResponseFilter
So I have my Quarkus extension which holds default ContainerRequestFilter, ContainerResponseFilter, ClientRequestFilter and ClientResponseFilter. We use this extension across multiple applications and ...
0 votes
0 answers
70 views
Connection pool issue with Quarkus Panache Reactive and MySQL
I'm using Quarkus + Panache Reactive + MySQL for my project. Since it's reactive, my connection pool uses Vertx SQL Pool. I've also enabled metrics to monitor the system status. I have a scheduled ...
2 votes
1 answer
144 views
Quarkus profile-aware config property picked up by different profile
Using Quarkus 3.29.0 my Maven build seems to hardcode a profile-specific property which is picked up by a different profile when not explicitly overridden. The build produces a fast-jar that runs in ...
1 vote
1 answer
89 views
Cannot deserialize JSON that I had serialized?
I am attempting to create a class that serializes and deserializes a Java class into JSON. I am using Quarkus REST Jackson to convert between a class called NetInfo and JSON, writing to a file called ...