Questions tagged [quarkus-reactive]

132 questions
0
votes
1 answer

Smallrye reactive messaging stops receiving incoming message on exception

Based on the documentation in https://quarkus.io/guides/kafka failure-strategy= ignore is as below (ignore: the failure is logged, but the processing continue. The offset of the record that has not been processed correctly is committed.) I have…
0
votes
0 answers

@ServerExceptionMapper doesn't handle all errors of the specified type

I want to handle all errors in a uniform format. For this I use @ServerExceptionMapper for classes: Exception, WebApplicationException, NotFoundException,... But there are errors that don't get into my handlers. For example, request for non-existent…
Ann.Iv.
  • 1
  • 1
0
votes
0 answers

Evaluate a Uni object in Intellij

I am building a small app with Quarkus and I am using ReactivePanacheMongoEntity. I am using Intellij and I need to evaluate the value of a Uni Object. When I do Evaluate(Alt +F8), it doesn't show the values as it used to be in the normal objects.…
ShefZee
  • 95
  • 7
0
votes
0 answers

Quarkus Chain Event Bus call

I have the following classes: I want to know how to do a chain request<->response using eventbus in Quarkus since I can't make it work. The following code is an example. If I directlly call the DAO I can see that the data is being called. ( B<->D…
0
votes
0 answers

How quarkus.arc.dev-mode.monitoring-enabled works?

The application has classes that uses quarkus-reactive-client to request external information. Also this classes has a provider to map http errors to a custom exception. In prod mode all works fine but in dev mode, for default, instead of returned…
diaz
  • 1
  • 1
  • 3
0
votes
1 answer

onFailure never called in quarkus reactive chain

I have this service class where I combine two Restcalls from Service A and B to one resonse object. @ApplicationScoped public class ResponseHandler { @Inject Mapper mapper; @Inject ServiceA serviceA; @Inject ServiceB serviceB; public Uni
nano_nano
  • 12,351
  • 8
  • 55
  • 83
0
votes
1 answer

Quarkus: Qute Template Static Images Source Path

I am making a Qute Template and there is a logo image in the header that I need to have loaded. The path that is being used within the html is this: Logo Flower The image path from the main folder is…
0
votes
0 answers

How to implement a many to many mapping when using Quarkus and Mutiny

How can a many to many mapping be done in Quarkus when using hibernate-reactive-panache extension together with reactive-pg-client. I tried it, failed terribly and resorted to the non-reactive way of implementing it. Here is my non-reactive way of…
0
votes
3 answers

How should Blocking Operations in a ContainerRequestFilter be handled Quarkus/Vert.x

Background: We are implementing a signed request mechanism for communication between services. Part of that process generates a digest on the contents of the request body. To validate the body on receipt, we re-generate the digest at the receiver…
0
votes
1 answer

Pubsub message with reactive panache monogodb failing to create ReactiveTransaction with session is null error

I have a quarkus project connecting to monogdb using reactive panache. I would like my method to be wrapped in a transaction and my current code looks roughly as follows: @Traced @ApplicationScoped @Startup public class MyReceiver implements…
mangusbrother
  • 3,988
  • 11
  • 51
  • 103
0
votes
1 answer

Quarkus Kafka concurrency

I use quarkus to process incoming messages from Kafka topic that has 4 partitions. While I ingest multiple messages to this topic I see the quarkus-kafka-consumer-code process the message one by one sequentially. Below is my logic that process the…
vvra
  • 2,832
  • 5
  • 38
  • 82
0
votes
1 answer

Quarkus Mutiny: Multy to Uni Returns null

I have a reactive program and i am adding to an Arraylist employees, as long as there isn't an employee with the same id following the code bellow.The thing is that it returns null even though the Arraylist has no employees in, So there can't be…
0
votes
1 answer

Mutiny Quarkus : Can you use Mutiny reactive programming in ArrayLists?

I'm trying to learn Reactive programming in quarkus and run into a problem. I want to make a simple employee system without any database, just the ArrayList with the Employees but in every article and video tutorial i watched and read , there were…
0
votes
1 answer

Quarkus - org.jboss.resteasy.reactive.common.core.BlockingNotAllowedException: Attempting a blocking read on io thread

I have a rest endpoint which reads the request body and is mapped to Java POJO. The issue I am facing is I get the below exception when I send the request as a GET. But the exception is not thrown when I change the type to POST and request…
Jaiprasad
  • 149
  • 11
0
votes
1 answer

Quarkus Rest Reactive Endpoints and Fault Tolerance for Multi Type

I have an endpoint which connects to postgres db and returns the data back to the client. And the endpoint is looks like below public Multi getData(RequestBody body) { // application code } Q) How to implement circuit breaker for Mutiny ,…
Jaiprasad
  • 149
  • 11
1 2 3
8
9