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
0
votes
1 answer

What is the difference between setting profile in quarkus with smallrye.config.profile or quarkus.profile

In quarkus the config is stored inside an application.properties file. You can have multiple application-{profile}.properties files. {profile} is the name of the profile you want it to be. When started with java -jar
Hamburml
  • 285
  • 4
  • 25
0
votes
1 answer

route failureHandler is blocked in SmallRye Mutiny Vertx bindings

I tried to experience the SmallRye Mutiny Vertx bindings, the complete example codes can be found on my Github. When assembling the routings like this. router.get("/posts/:id").produces("application/json") .handler(handlers::get); …
Hantsy
  • 8,006
  • 7
  • 64
  • 109
0
votes
1 answer

How do I properly auth with JWT to openapi UI for Quarkus / smallyre-JWT?

I have a Quarkus endpoint stood up. Secured by JWT and Roles. It works in Postman. (Header ) I have looked and struggled and found I can’t do a typical @Header or @Parameter annotation exposing this Authorization…
Chris
  • 158
  • 3
  • 10
0
votes
1 answer

SharedConsomer with quarkus, possible?

I wonder if is it possible to use the shared consumer with the JMS connector of Quarkus. I would like to make something like this: final TopicConnection topicConnection = factory.createTopicConnection(); final TopicSession topicSession =…
bdeweer
  • 135
  • 1
  • 14
0
votes
1 answer

Quarkus SmallRye Kafka Connector vs. Kafka Bare APIs

We are in the process of writing a lightweight Kafka microservice that will be responsible for managing the complexities around Kafka integration for an Event-driven Architecture. Other applications will only communicate with this Kafka-microservice…
0
votes
1 answer

Microprofile (SmallRye) @Gauge but not invoked by the metrics infrastructure

I'm using SmallRye implementation for Eclipse Microprofile Metrics in a project that uses Quarkus at version 1.7.3. I need to collect a random Integer value returned by a method in an ApplicationScoped class as a metric, but when I use @Gauge the…
mgmarcos
  • 3
  • 2
0
votes
0 answers

Quarkus SmallRye-JWT JSON Web Key Sets refresh-interval

I am using SmallRye JWT to generate and verify the JWT token. With microservice A, I generate the JWT token. With microservice B, I have to verify the JWT token. Inside microservice B, I use the properties: smallrye: jwt: verify: …
0
votes
1 answer

how can one return a value directly from Uni without converting that into a CompletableFuture

to give a context, I have two methods in my class both returns Uni, of which the first method depends on the second method in the following manner public Uni greeting(String name) { log.info("\n\n"); log.info("\t`greeting(String…
Arko
  • 902
  • 12
  • 23
0
votes
2 answers

how disable remoteReporter in quarkus-smallrye-opentracing

Request description:. I want disable jaeger client remoteReporter, I don't nee send to agent, Because istio would make it. Tried:. Add quarkus.jaeger.sender-factory prop in my application.properties but I not has lucky, and can't find when use this…
LeoKao
  • 47
  • 1
  • 6
0
votes
1 answer

Complete Uni with placeholder item, without cancelling the processing pipeline, if no item has been produced before deadline

I have a pipeline of asynchronous operations that takes a long time to complete, and I would like to let the Uni continue with a placeholder item if the pipeline has not produced an item before a deadline, like this: Uni u =…
sirf
  • 3
  • 2
0
votes
1 answer

Quarkus Uni is not working as accepted?

As I am working on QUarkus application I am trying to return Uni but it giving me error: @GET @javax.ws.rs.Path("/notification/typeCount") @Produces({MediaType.APPLICATION_JSON, MediaType.TEXT_PLAIN}) public Uni getNoti(){ return…
user3458271
  • 638
  • 12
  • 31
0
votes
1 answer

Message getting expired in ActiveMQ Artemis

I have created an ActiveMQ Artemis producer in Quarkus application using Eclipse microprofile emitter. But the messages are getting expired instantly, and being moved into ExpiryQueue. I am not sure about this behavior. Please suggest how could I…
0
votes
1 answer

Quarkus - Understanding error Request failed: java.lang.IllegalStateException: SRMSG00028: The subscription to events has been cancelled

I am using Quarkus to proxy request to another REST service. Everything works fine when the downstream service is running. When I shutdown the downstream and send request, for example a curl request, through Quarkus the first request gets stuck,…
0
votes
2 answers

Smallrye open api interceptor

I am developing a rest application. Some endpoints require a custom header parameter, not related to authorisation. I created a custom annotation using jax-rs NameBinding. Here is an usage example: @GET @RequiresBankHeader public int get( …
AmsterdamLuis
  • 341
  • 3
  • 21
0
votes
0 answers

Quarkus Reactive Messaging doesn't start separate thread using JMS connector and SmallRye implementation

In my scenario the application reads messages from a JMS queue by using a CDI-Producer. @Produces public ConnectionFactory connectionFactory() { JmsFactoryFactory ff; JmsConnectionFactory factory; try { // Get a new…
1 2 3
10
11