Questions tagged [smallrye]

SmallRye is community providing APIs and implementations tailored for Cloud development mostly, but not limited, to the specifications. The implemented APIs are tailored for Cloud Native development and container deployment.

Here you can find the main, Eclipse Microprofile, implemented specifications and their current status / version.

SmallRye provides many other community APIs such as [mutiny], which is another (yes) reactive API for the Java language.

160 questions
2
votes
1 answer

How to run event sequentially in Mutiny

I am using the Mutiny library within the Quarkus framework in Java 11. I am wonderring which is the best way of running several events sequentially by storing them into a Multi object. I am going to describe my issue in the following java-like…
A.Casanova
  • 555
  • 4
  • 16
2
votes
0 answers

How can I persist multiple models with manyToMany relationship at a once on hibernate reactive?

I have 2 entity models Appointment and reasons with many to many relationship. Appointment model: @Entity public class Appointment extends PanacheEntityBase { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) public Long id; …
zhongge
  • 21
  • 4
2
votes
0 answers

smallrye-quarkus validation can be disabled when requests has an expired jwt token on @PermitAll method?

when the header data contains an Authorization entry with an expired jwt token, smallrye validates it showing an exception info because of token expiration. being a @PermitAll resource it should not consider the jwt to let the request being…
Rafik Bex
  • 51
  • 7
2
votes
1 answer

How can we catch unauthorized exception which been thrown by quarkus

I am facing this problem but don't know how to achieve it. I have a graphql endpoint to fetch list of user, it already enabled authentication check. Basically, when I send a request fetchUsers without authorization header it will throw exception or…
Park Jay
  • 249
  • 6
  • 14
2
votes
2 answers

Adding smallrye tracing to Wildfly 23

I'm trying to add microprofile opentracing subsystem to Wildfly23 using thins guide: https://github.com/wildfly/wildfly/blob/main/docs/src/main/asciidoc/_admin-guide/subsystem-configuration/MicroProfile_OpenTracing_SmallRye.adoc However, the second…
2
votes
1 answer

Quarkus SmallRye Graphql-Client Mutation Query

I try to execute a Graphql Client Query. Sadly I am not able to find any kind of documentation or examples on how to do a simple Mutation using the Dynamic Graph QL Client. Here is the documentation…
Dario
  • 23
  • 2
2
votes
2 answers

How to unit test a method returning Uni/Multi of Smallrye mutiny reactive library?

I am using Smallrye Mutiniy reactive library in my Quarks application as it is supported natively in Quarks applications. I'am trying to write unit tests for a service class. I am not sure how to write unit tests for a method that returns…
Player_Neo
  • 1,413
  • 2
  • 19
  • 28
2
votes
1 answer

how create a custom Auto-Configuration in parent maven project with quarkus

Request description: I want integration a few propertie (such as: quarkus.log.console.format、quarkus.smallrye-metrics.path) in parent maven project, new project just extend parent maven project can be auto-config that propertie and make sure all…
LeoKao
  • 47
  • 1
  • 6
2
votes
2 answers

How to call long running blocking void returning method with Mutiny reactive programming?

I have a chain of Async and Sync method invocation on Mutiny's Uni, some methods are a long-running process with return type void. What is the proper way of invoking/calling them without blocking downstream? Below is the simple analogy code. class…
Player_Neo
  • 1,413
  • 2
  • 19
  • 28
2
votes
1 answer

Quarkus with Microprofile OpenTracing distributed tracing doesn't work

I'm migrating Thorntail (2.4.0.Final) to Quarkus (1.11.1.Final). During test phase we have noticed that distributed tracing is not working. Tracing works (single component traces) but uber-trace-id is not passed with rest request header, so next…
Bartek K
  • 73
  • 1
  • 8
2
votes
1 answer

Quarkus Configure Metrics for SmallRye Fault Tolerance

My Quarkus application is using Micrometer and Smallrye Fault Tolarance extensions, and I appreciate the fact that using the @CircuitBreaker annotation automatically adds metrics. However, the format and labels are kind of ugly and would make…
jkratz55
  • 821
  • 2
  • 13
  • 27
2
votes
1 answer

Quarkus Kafka Deserializing Exception to Dead Letter Queue

In order to satisfy reliability of my service, I need to push all incoming messages, that could not be deserialized, into a dead-letter topic using kafka-smallrye and quarkus. All the messages on the topic should be in avro format (but I could not…
2
votes
0 answers

Make Quarkus health check run on another port than the application

I have a Quarkus application which I need health check implemented on a different port than the application. Fx application running on port 8080 and health check running on 8081. Do anyone have an example on how to achieve this? Im running Quarkus…
MikkelDalby
  • 142
  • 2
  • 11
2
votes
2 answers

How to enable Infinispan smallrye metrics in Wildfly 20?

We want to expose the metrics of our Hibernate caches into Prometheus, and have for the time being built our own metrics for the caches, but since Infinispan 10 provides native metrics support, we'd rather use that. So when I curl the…
Martijn Dashorst
  • 3,652
  • 17
  • 26
1
vote
1 answer

How convert from Uni> to non Uni list object?

I am looking for solution for converting the Uni to regular List object. Unfortunately am unable to find any solution anywhere or within the mutiny documentation. If anyone can help to point to right direction that will be helpful.
Sam
  • 127
  • 2
  • 15
1
2
3
10 11