All Questions
70
questions
0
votes
2
answers
77
views
Quarkus Multi<> multithreading
I can't understand how the items produced by a Multi are handled. In my understanding of Quarkus, they should (at best) be executed asynchronously, so the order, in some cases, should not be preserved....
0
votes
1
answer
128
views
invoke vs map in Mutinity java reactive code
i not understand why the code:
Multi.createFrom().ticks().every(Duration.ofSeconds(10)).onItem().invoke(
x -> return "example"
).subscribe().with(System.out::println);...
0
votes
1
answer
166
views
Can I use Quarkus Reactive Panache with Oracle R2DBC? Are they compatible?
The Quarkus Oracle reactive extension is in tech preview for a long time for the RedHat supported build, so I'm looking for alternatives for prod use.
I'm using Mutiny and reactive rest and rest ...
0
votes
1
answer
224
views
Quarkus Reactive Test with Panache problem (chaining two DB calls)
Preamble
I am currently switching from Spring to Quarkus using the book "Full Stack Quarkus and React" by Marc Nuri San Felix. Since the book uses an older version of Quarkus (and dependent ...
0
votes
0
answers
117
views
Return a paginated Multi<> with reactive-pg-client
I have a question.
I have to implement a Quarkus service which is consuming REST requests with some filter settings, which are than used for requesting large dataset ( could be >10.000.000 entries) ...
0
votes
0
answers
121
views
Quarkus returning a Multi<> as Rest response
I have a question regarding Quarkus and Rest Responses. I'm not that experienced with micro services.
I have an Quarkus backend, which is handling different types of rest requests. Uploading a file, ...
0
votes
1
answer
187
views
How to collect metrics (prometheus ) from Reactive Routes in Quarcus
Quarkus version 3.2.3.Final
I am using reactive routes in quarkus 'io.quarkus:quarkus-reactive-routes'
I am also using promoetheus metrics io.quarkus:quarkus-micrometer-registry-prometheus.
The ...
0
votes
0
answers
525
views
java.lang.IllegalStateException: Mutiny.SessionFactory bean not found. Hibernate Reactive with Panache
I'm Trying to create a CRUD implementation using hibernate reactive with Panache when I run the add method I get the error
java.lang.IllegalStateException: Mutiny.SessionFactory bean not found.
...
0
votes
2
answers
808
views
How to make exception mapper to be called in Quarkus
Please see the resource below. I set to throw exception in post jut to test that exception mapper works, but it never get called. Instead i am getting "red screen" from quarks error message ...
2
votes
1
answer
246
views
How to convert a Uni<Void> response to a "not found" in Quarkus Resteasy Reactive?
Given an endpoint like that:
@GET
@Path("{id}")
public Uni<Stuff> getSomeStuff(@PathParam("id") int id) {
return someService.fetchStuff(id);
}
When someService.fetchStuff(...
0
votes
1
answer
856
views
Quarkus reactive with http request on ContainerRequestFilter
I'm want to made a request on my ContainerRequestFilter
@Startup
@Provider
@PreMatching
public class SecurityOverrideFilter implements ContainerRequestFilter {
@Inject
Logger logger;
@...
0
votes
1
answer
540
views
Handling failures with SmallRye Mutiny
I am new to and learning reactive programming with Quarkus and mutiny.
My code is a basic block where I am playing around with all these new concepts. I am struggling to figure out how to achieve the ...
1
vote
1
answer
343
views
How can I run Blocking operations in RestEasy Reactive with Qute?
In Quarkus documentation they say:
It is now recommended to use RESTEasy Reactive, which supports both traditional
blocking workloads and reactive workloads equally well.
Actually I try their sample ...
1
vote
1
answer
142
views
Using SmallRye Mutiny in frontend Vue app
I am using Java Quarkus application together with SmallRye Mutiny based on Quarkus guide: https://quarkus.io/guides/mutiny-primer
I created Rest endpoint as below:
@GET
@Path("/data")
...
0
votes
1
answer
219
views
Quarkus Hibernate Reactive Postgresql NOT IN clause
I am trying to get a NOT IN clause working with Hibernate Reactive Postgres in Quarkus, and I tried the below combinations without any luck. Any Help is greatly appreciated.
The parameter passed is an ...