Questions tagged [quarkus-reactive]

132 questions
0
votes
1 answer

Using reactive Panache, how can I chain two updates in the same transaction?

I'm developing a reactive application using Quarkus and Panache reactive. When I consume a message in Kafka I have to update a database and I also want to manage duplicate messages. In Avoiding message losses, duplication and lost / multiple…
dmarrazzo
  • 175
  • 7
0
votes
1 answer

Quarkus WebSocket server async MDC Context propagation

I'm trying to create a Quarkus WebSocket server with some async workaround. I want to process the incoming messages asynchronously by publishing an event in the Vertx EventBus and then process them in a different 'service' class. At the same time, I…
Jorge F. Sanchez
  • 321
  • 4
  • 17
0
votes
1 answer

quarkus/mutiny how to trigger a side job without waiting it

quarkus reactive uses mutiny to handle task asynchronously. But, the flow is always wait every job to finish, then returns the result. Sometime, I just want to trigger a job and let it run in the background without waiting it to be done. Any…
Jie Huang
  • 1
  • 3
0
votes
0 answers

Quarkus rest-easy reactive AWS lamda application is not showing the swagger-ui page in qa env

My Quarkus rest-easy reactive application shows good the OpenAPI swagger docs in local. http://localhost:8080/q/swagger-ui I used the below gradle dependnecy io.quarkus:quarkus-smallrye-openapi But not showing in the deployed env of QA AWS as a…
Naga Syamala
  • 41
  • 1
  • 5
0
votes
0 answers

How to set home page as swagger ui page in a quarkus rest easy reactive lamda application

I have included the gradle dependency io.quarkus:quarkus-smallrye-openapi and trying to make the swagger ui page as the default home page for my quarkus rest reasy rective lamda application.
Naga Syamala
  • 41
  • 1
  • 5
0
votes
0 answers

Quarkus LinkageError: loader constraint violation in interface itable initialization when running super-heroes workshop

I´m new to Quarkus so I was starting with the Quarkus super-hero workshop available here yet I´ve found a problem that seems to be already reported and solved in issue 23660 when running in dev mode: Caused by: java.lang.LinkageError: loader…
0
votes
0 answers

How to add a RequestBody to a POST request in quarkus REACTIVE ROUTES with RoutingContext?

@Route(path = "/v1/graphql", produces = "application/json", methods = Route.HttpMethod.POST) public Uni toHasura(RoutingContext rc, @Body String query) { // } I'm trying to redirect requests to hasura with my app, but…
0
votes
1 answer

What happens when I dont use reactive Quarkus extensions?

if I dont use the reactive extensions for Quarkus Is the I/O op going to be non-blocking or blocking? I am asking this because I didnt like the reactive programming style, I wish I could have something like c# async await for java
user2566397
  • 89
  • 10
0
votes
1 answer

Responding NACK on message in Quarkus reactive code cause the readiness check to fail

I am implementing a use case where I listen to messages coming from a Kafka topic in a quarkus application in a reactive manner. I followed as base code the KafkaDeadLetterTopic class from this Gist included on this blogpost…
0
votes
1 answer

How to call Multiple REST Client from Quarkus Controller?

Does Quarkus controller allow to use multiple rest clients? I pretty much tried everything in my power to figure out what I might be doing wrong but No success. I am using below variables to point to open jdk 11 JAVA_HOME and JDK_HOME (…
0
votes
0 answers

How to tell resteasy-reactive client that a @PathParam is already encoded?

I am using quarkus resteasy-reactive and setting up clients declaratively. I need to put base64 (which works fine as URL path segments) data into the path but the / chars get encoded into %2F causing the receiving application to fail parsing the…
0
votes
1 answer

Datasource Metrics for Postgres DB are not available at /q/metrics endpoint [QUARKUS]

Quarkus App - Rest service to fetch data from Postgres DB Quarkus version : 2.9.0.Final Postgres Extension - quarkus-reactive-pg-client Micrometer Extension - quarkus-micrometer-registry-prometheus After adding the above extensions , the postgres db…
Jaiprasad
  • 149
  • 11
0
votes
1 answer

Trying to persist data if no duplicate record is found on collection

I'm using Quarkus Reactive and I'm trying to insert data to DB if duplicate record is not found on DB, here's my line of code @ApplicationScoped public class MovieRepositories implements IMovieRepositories { @Inject MovieMapper mapper; …
0
votes
1 answer

Quarkus Using Reactive Hibernate: Parameter 'dataSource' may not be null

I'm trying to switch from tranditional database accessing to reactive. In pom.xml i have added: io.quarkus quarkus-hibernate-reactive
CT11
  • 73
  • 1
  • 6
0
votes
0 answers

Error on Quarkus GRPC proto file import google/api/annonations

Im using GRPC on quarkus framework. There is error appearing when importing google/api/annotations.proto file. Already cloned googleapis project on my local disk and generated a *.pb file with using protoc generator. Maybe there is something wrong…
1 2 3
8 9