Questions tagged [quarkus-reactive]
132 questions
0
votes
0 answers
Reactive Quarkus app behaving differently when run as Java or native
I have a reactive quarkus app with hibernate-panache-reactive. The problem is it behaves differently when I run it as a Java app or a native app.
The app
loads a lot of data from a MySQL DB via hibernate-panache-reactive
builds a graph based on the…

Ben
- 1,922
- 3
- 23
- 37
0
votes
1 answer
Quarkus Panache Reactive - select single column
With the reactive version of panache I am unable to select a specific column from table using the project
@Entity
class Test: PanacheEntity(){
@Column(name="amount")
var amount: Double = 0.0
@Column(name="name")
…

dondragon2
- 535
- 5
- 15
0
votes
1 answer
Quarkus Reactive Rest: how to throw NotFoundException for 404 response?
I have a basic Reactive Rest endpoint which should return existing Account or 404 if Account not found:
@GET
@Path("/{id}")
public CompletionStage get(@PathParam("id") String id) {
return accountProvider
.get(id)
…

Sam Ivichuk
- 999
- 1
- 10
- 22
0
votes
1 answer
Example of Quarkus Jwt in resteasy reactive
when i use
@Inject
JsonWebToken jwt;
in function that returning Uni, it always show this error
Cannot call getIdentity() from the IO thread when lazy authentication is in use, as resolving the identity may block the thread. Instead you should…

user3337148
- 3
- 3
0
votes
1 answer
How to Convert Multiinto Map in Quarkus Reactive With Mongo Client Library
Im trying to read collections data from MongoDB Using ReactiveMongoClient in Quarkus.
Im getting Multi and tried to map to my custom object and prepare list and convert into Map offersMapGroubyCustomerId but no luck . anyone please help…
0
votes
1 answer
Adding Cache Mongodb Panache Quarkus Reactive
im trying to speed up my mongodb panache query's using quarkus and reactive, im trying to use cache and get a better pagination but cant make it work, this are my java class:
@ApplicationScoped
@RegisterForReflection
public class BrandRepository…

Monitos
- 3
- 4
0
votes
2 answers
Update array object mongoDB
I have an array of objects and would like to update the count of the object where categoryId = "menu2" and subCategoryId = "1".
in my mongodb i currently have two records in the array:
{
"_id": "xyz",
"badges": [{
"count": 2,
…

neeeextL
- 1
- 2
0
votes
1 answer
Running out of SQL connections with Quarkus and hibernate-reactive-panache
I've got a Quarkus app which uses hibernate-reactive-panache to run some queries and than process the result and return JSON via a Rest Call.
For each Rest call 5 DB queries are done, the last one will load about 20k rows:
public…

Ben
- 1,922
- 3
- 23
- 37
0
votes
1 answer
Quarkus Mutiny and Imperitave vs Reactive
TL;DR: which is more pattern? Using Mutiny + Imperative resteasy, or just use Reactive resteasy?
My understanding is Mutiny allows for me to pass Quarkus a longer running action, and have it handle the specifics of how that code gets run in the…

Snappawapa
- 1,697
- 3
- 20
- 42
0
votes
1 answer
Quarkus and Panache have Example API?
I'm looking for a Quarkus API that works like Spring Data Example API in Panache but I wasn't able to find anything similar.
For those that do not know what the Example API is, you can think it as a query performed by an Example object, that is…

zambotn
- 735
- 1
- 7
- 20
0
votes
1 answer
Quarkus Reactive throws "`hibernate.connection.provider_disables_autocommit` was enabled."
I've migrated my application to Quarkus Reactive and I'm seeing this log message whenever I persist an entity with Hibernate Reactive Panache
2022-01-30 17:04:04,864…

Marian Klühspies
- 15,824
- 16
- 93
- 136
-1
votes
1 answer
Quarkus kotlin and reactive hibernate with panache No current Mutiny.Session found error with suspend function only
Making the findByStatusAndTypeAndLanguage function below a suspend function causes "java.lang.IllegalStateException: No current Mutiny.Session found" error, but the function above it is suspend with no errors. Removing the suspend from the…

Yousef
- 307
- 2
- 14