Questions tagged [microprofile]

The Eclipse MicroProfile project defines a programming model for developing microservice applications in an Enterprise Java environment.

The Eclipse MicroProfile project is a CDI-first approach to building microservice applications and supported by both community and Java application server vendors. There are a number of active projects within MicroProfile, which can be viewed at the official website.

296 questions
0
votes
2 answers

Microprofile Config: Dynamic ConfigSource values for faulttolerance metric tags

i'm currently working on a solution to setting metric tags for the microprofile fault-tolerance framework. We're using it together with metrics, but one cannot directly set tags via the fault-tolerance annotations. So we came up with a workaround…
sofarsoghood
  • 243
  • 2
  • 16
0
votes
1 answer

Substitution and injection from bootstrap.properties doesn' t work

In my pom I define some profile-dependent properties LOCAL true
Francesco
  • 2,350
  • 11
  • 36
  • 59
0
votes
1 answer

Fault tolerance @Asynchronous on MicroProfile REST client cause open liberty core dump on windows

Fault tolerance @Asynchronous-annotation on a REST client cause a core dump on Windows and the following error on MacOS: *** java.lang.instrument ASSERTION FAILED ***: "!errorOutstanding" with message transform method call failed at…
Daniel
  • 744
  • 8
  • 24
0
votes
0 answers

How to implement squer brackets parameter with Jax-RS client?

External API is exposing resources with the search parameter. This is the targeted endpoint: https://example.com/api/categories/?filter[name]=[somename]&display=full I'm using quarkus with…
kingkong
  • 1,537
  • 6
  • 27
  • 48
0
votes
1 answer

Several Event Types in the Same Topic With Kafka, Quarkus and Avro

I am trying to read an event from a topic using Quarkus. The topic could contain different types of events. All the events use the AVRO format, so I have a schema registry where I can read the releted schema of an event. I use avro-maven-plugin to…
Stefano Castoldi
  • 193
  • 2
  • 10
0
votes
1 answer

Microprofile misses manifest.mf

I created an example microprofile app. And the readme says i can start it with java -jar myjar.jar But when I try it i get an error that no manifest.mf exists. I really don't have one in my example generated project. But when I extract the jar,…
Arquillian
  • 125
  • 2
  • 16
0
votes
1 answer

Quarkus: how to manage complex role relationships?

Our team is currently developing our first Quarkus application, with most developers primarily experienced with the Spring ecosystem. We are facing the following authorization related problem: Our users are authenticated by openID and JWT using the…
Dave
  • 420
  • 1
  • 3
  • 14
0
votes
0 answers

Quarkus MP-Metrics: A metric with the MetricID already exists

I'm trying to use Quarkus MP-Metrics. In a simple API I have a gauge as follows: @Path("/count") @GET @Gauge(unit = MetricUnits.NONE, name = "customersNumberGauge", description = "Number of customers in the inventory") public int…
Seymour Glass
  • 81
  • 2
  • 15
0
votes
1 answer

How to define HTTP filter for GraphQL requests?

I use Quarkus 1.6.1.Final version with GraphQL implementation using SmallRye GraphQL. My aim is to define logic to check user permissions on every request (Query + Mutation) made to /graphql endpoint. So, I am trying to find something like jax-rs…
fabasoad
  • 1,613
  • 18
  • 20
0
votes
1 answer

Openshift 4 Readiness probe failed

I'm using thorntail microprofile framework to monitor a simple rest service application. The application deployment on openshift works fine but not the health monitor since receive this message: Readiness probe failed: Get…
iperezmel78
  • 415
  • 5
  • 20
0
votes
1 answer

Quarkus reactive messaging with kafka

I have two microservices, a producer and a consumer. The producer writes an increment of a number every two seconds to a kafka topic. The consumer has two instances running, consuming these increments. I have noticed a few odd things that I want to…
0
votes
3 answers

is it possible to delay consuming from channels (amqp,kafka etc) in quarkus?

My service needs to set up some data and connections (e.g thirdy party tokens, hazelcast connection) before starting to consume from Incoming channels. But I noticed that the amqp connections also happen at startup and as soon as they connect they…
Obb
  • 163
  • 4
  • 12
0
votes
1 answer

Microprofile Reactive Messaging with Opentracing

Im playing around with MP Reactive Messaging and MP Opentracing but I cant figure out how to trace the messages send via Reactive Messaging. Is it even possible to trace the methods which are annotated with @Income / @Outcome?
0
votes
1 answer

Injection of bean inside ClientHeadersFactory doesn't work

I'm building a Quarkus app which handles http requests with resteasy and calls another api with restclient and I need to propagate a header and add another one on the fly so I added a class that implements ClientHeadersFactory. Here's the…
Fab
  • 135
  • 9
0
votes
2 answers

Quarkus: MicroProfile metrics and Graphite

Is there a way to send microprofile metrics to graphite directly? The only guide with Quarkus I've found is this https://quarkus.io/guides/microprofile-metrics. I'm looking for something similar to what I'm using with Spring Boot…
overthetop
  • 1,664
  • 2
  • 15
  • 25