Questions tagged [quarkus]

A Kubernetes native Java stack tailored for GraalVM & OpenJDK HotSpot, crafted from the best of breed Java libraries and standards

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

Interceptor has no bindings

When certain values are changed in my classes, I want to fire an event on the vertx event bus to alert an observing class. Instead of hand coding every setter, I am trying to create an interceptor and ...
John Boudreaux's user avatar
0 votes
1 answer
37 views

ClassCastException during QuarkusTest with OptaPlanner and Kotlin

I'm using OptaPlanner 9.37.0.Final with quarkus 3.1.3.Final and Kotlin 1.8.21 to solve a VRP. When I run quarkusDev, my current setup runs just fine, but when I run a @QuarkusTest, I get the following ...
greyhairredbear's user avatar
0 votes
0 answers
15 views

Quarkus ActiveJDBC integration

How do one setup the ActiveJDBC instrumentation step on a quarkus project? The instrumentation plugin is setup in pom.xml, and can be run successfully manually or via IDE. <plugin> &...
Sugiharto Lim's user avatar
0 votes
1 answer
24 views

OptaPlanner Employee Rostering: Fill Priority 1 Shifts Before Priority 2 Shifts

I'm working on an employee rostering system using OptaPlanner, and I'm facing a scenario where I need to ensure that priority 1 shifts are filled before priority 2 shifts. The shifts are identified by ...
sicario_23's user avatar
0 votes
0 answers
27 views

Native GraalVM compilation fail when reading environment variables with System.getenv(" ")

The below code is giving error when trying to compilate to native image, using Quarkus native image build. val temporalServerAddress: String = System.getenv("TEMPORAL_SERVER") ?: "127.0....
Gireesh's user avatar
  • 91
0 votes
1 answer
31 views

New Keycloak Realm not providing roles for app login

I'm working on setting up Keycloak to be my auth provider, using OIDC. My app is written using Quarkus. I am creating a new realm using the following steps: Enter Keycloak Admin Console Under realm ...
Snappawapa's user avatar
  • 1,677
0 votes
0 answers
14 views

upgrading Optaplanner to 8.25+ results in very slow performances

After a while, I'm working again on a side-project which was using Optaplanner 8.20. Since we now are in V8.42 (or 9.42 with quakus 3/java17) I tried to upgrade the app to the latest version (I would ...
minioim's user avatar
  • 546
0 votes
1 answer
20 views

Building with GraalVM native image - Unresolved type during parsing: io.grpc.netty.shaded.io.netty.util.internal.logging.Log4J2Logger

I am using Quarkus and trying to build the native image and got this error My dependecies dependencies { implementation(enforcedPlatform("${quarkusPlatformGroupId}:${quarkusPlatformArtifactId}...
Gireesh's user avatar
  • 91
0 votes
0 answers
11 views

SmallRye Fault Tolerance: @Retry - Get the retry attempts before it success

Is there any way to get how many retries the @Retry did before the method succeeded? For example you have maxRetries = 3, then it was succeeded on 2nd retry, I want to get that value and save it in my ...
Eve's user avatar
  • 43
0 votes
0 answers
36 views

Quarkus AnnotationsTransformerBuildItem not working as expection

what i am trying to do is to build an Quarkus extention that will change some annotations at quarkus application so I used AnnotationTransformerBuildItem. package com.tawfeek.greeting.extension....
tawfeek shalash's user avatar
0 votes
0 answers
30 views

Using upper() and lower() functions with tstzrange type in JPQL in Hibernate 6 with Quarkus 3

I'm developing a Quarkus 3 application where I've integrated Hibernate 6. To work with custom PostgreSQL types, specifically tstzrange, I've incorporated hypersistence-utils-hibernate-62 from ...
Michal Drozd's user avatar
  • 1,311
0 votes
1 answer
24 views

Jpamodelgen not generating metamodel classes on update to Quarkus 3.2.3

I just updated my project to Quarkus 3.2.2.Final but hibernate-jpamodelgen dependency is not working. Already tried multiple versions. It is not generating metamodel classes for my project. It works ...
Gonçalo C's user avatar
0 votes
1 answer
25 views

Quarkus enforcedplatform BOM in build.gradle.kts breaks added dependency

I have added a dependecny implementation("com.netflix.conductor:conductor-client:3.13.8") for my quarkus project. However enforcedPlatform("${quarkusPlatformGroupId}:${...
Mustafayl's user avatar
0 votes
1 answer
25 views

Receive form data as POJO with Quarkus without annotations

I have a Java application based on Quarkus 3.2.3, where I would like to receive form data that was sent through a HTTP POST as a POJO with no annotations. It seems that this always gives me a response ...
Leendert Gravendeel's user avatar
0 votes
0 answers
10 views

Quarkus Reactive testing with database operation leading to java.lang.IllegalStateException: No current Vertx context found

I'm trying to test a part of my code that does a database transaction. @QuarkusTest class FileServiceTest { @InjectSpy MyService myService; @Test void testDatabaseOperation() { ...
Marian Klühspies's user avatar
0 votes
0 answers
16 views

multi-platform image building not supported when pushing to Docker engine

(1)settings in application.properties: quarkus.jib.platforms=linux/amd64,linux/arm64/v8 (2)then exec: clean package -DskipTests -Dquarkus.container-image.build=true (3)with result: multi-platform ...
lijing's user avatar
  • 1
0 votes
1 answer
19 views

In quarkus how to set @RegisterRestClient(configKey = "payment-api.auth-token-api") these configKey at run time

In quarkus how to set @RegisterRestClient(configKey = "payment-api.auth-token-api") these configKey at run time. i want to remove "payment-api.auth-token-api" from application.yaml....
swaroop c's user avatar
0 votes
0 answers
22 views

How to catch org.apache.camel.http.base.HttpOperationFailedException with status code and return personality response in Apache Camel

Good afternoon, I am currently working with Apache Camel and Quarkus for the first time and I am calling an API that returns different types of http code, when it returns an http code other than 200, ...
Cesar Justo's user avatar
0 votes
1 answer
21 views

optaplanner solving of one dataset with multiple nodes

I'm interested in deploying an optaplanner solution on a Kubernetes cluster. The main interest would be to scale horizontaly the solving of a specific dataset. I have seen an example of optaplanner ...
minioim's user avatar
  • 546
0 votes
1 answer
18 views

Java Quarkus AWS-SNS Topic does not exist

Getting topic not found upon publishing a message to SNS. The credentails configured via CLI is correct as well. PS C:\quarkus-project> aws sns list-topics { "Topics": [ { ...
Poor programmer's user avatar
0 votes
0 answers
12 views

Quarkus ldap security authenticating with uid and description instad of userPassword

I am using quarkus-elytron-security-ldap but in this user authentication is based on uid and description instead of userPassword. I was looking for property user_pssword_mapper where I can configure. ...
Shraddha Kabra's user avatar
0 votes
1 answer
33 views

Alternatives to Quarkus base images for native-micro

I am building the binary in a GitHub Action pipeline using mvnw -Pnative. The runner machine uses the latest Ubuntu OS where the glibc version is 2.3x. Whereas, the base Quarkus micro image uses an ...
cogitoergosum's user avatar
0 votes
1 answer
27 views

Quarkus + Qute + MessageBundle: java.nio.charset.MalformedInputException: Input length = 1

I want to have all the messages on my system in a msg.properties file that follows the key=value pattern, where can I find an example? I tried like below: resources/messages/msg.properties invalid-...
Luciano Borges's user avatar
0 votes
1 answer
22 views

Quarkus Entity Persistence Issue: "Not an entity" Error for Custom Extension

I'm working on a Quarkus extension and facing an issue while trying to persist an entity. I have defined an entity class called ConfigurationEntity, but when I try to persist it in my main application,...
Çağrı BIYIK's user avatar
0 votes
1 answer
20 views

Want to know, how to disabled mongodb through application.properties

Quarkus, quarkus-panache Need to know what property should be use to disabled mongodb instance in application.properties file. e.g:- we can use quarkus.scheduler.enabled=false to stop scheduler. I ...
Machine's user avatar
0 votes
0 answers
19 views

Certificate for <localhost> doesn't match any of the subject alternative names: in Apache Camel with Quarkus URL Dinamyc [duplicate]

Good morning, I am currently working with apache camel and quarkus, I am using dynamic url because I have to call an API with dynamic url and the GET method, it is through https, the problem is that ...
Cesar Justo's user avatar
0 votes
0 answers
25 views

Quarkus opentelemetry sampler

I have the quarkus (v 2.13.x) opentelemetry working for our services. However, i am trying to provide a way to disable sending logs to the collector at the service level. I want to be able to drop ...
sg1973's user avatar
  • 91
1 vote
1 answer
91 views

Unsatisfied dependency with Panache and Multiple Datasources

What I'm trying to do I'm creating a Vaadin application with Quarkus, and while trying to connect multiple datasources, an error was thrown : 2023-08-06 13:24:47,765 ERROR [io.qua.dep.dev....
Jacouille's user avatar
  • 931
0 votes
0 answers
16 views

Quarkus logging to graylog with Kafka Transport

does anybody know how to configure quarkus to use graylog as centralized logging and use kafka as transport mechanism. I know that under the hood quarkus uses logstash-gelf library which supports ...
Eric Souza's user avatar
1 vote
0 answers
27 views

How to configure SSL to call other REST services through dynamic url in Apcahe Camel Method tod

Good morning, I am currently working with apache camel and Quarkus and I am presented for the first time with a scenario that had not happened to me before, now I am working with dynamic url of the ...
Cesar Justo's user avatar
0 votes
1 answer
37 views

How to setup Quarkus to work with Postgis?

I am trying to run a simple example with Postgis but I am getting the error: Caused by: java.lang.NoSuchMethodError: 'void org.hibernate.dialect.PostgreSQL81Dialect.registerColumnType(int, java.lang....
Luciano Borges's user avatar
1 vote
0 answers
21 views

How to init CORBA in Quarkus Java 17 application?

In pom.xml there is dependency: <dependency> <groupId>org.jboss.openjdk-orb</groupId> <artifactId>openjdk-orb-jakarta</artifactId> <version>8.1.9.Final</...
Politechniczny's user avatar
0 votes
0 answers
36 views

MDC content is not printed via log4j2-jboss-logmanager on quarkus

I want to put a content into "org.jboss.logging.MDC" and make available in logging via log4j2, but value is not showable only for log4j2. I also tried "java.util.logging.Logger" ...
C. Bilgin's user avatar
0 votes
1 answer
28 views

kogito-data-index-infinispan docker image can't connect to Kafka image

I have created kogito quarkus application. And this application needs to some services to interact with. I created docker-compose file, which contains 7 services(zookeper, kafka, infinispan, ...
maksnurgazy's user avatar
0 votes
1 answer
33 views

Decorating All RESTEasy Reactive Request Handling in Quarkus Amazon Lambda HTTP Extension

I would like to decorate all HTTP request handling in my Quarkus RESTEasy Reactive application that is deployed on AWS Lambda. The Quarkus Amazon Lambda HTTP extension helps users serve their RESTEasy ...
jdgilday's user avatar
  • 866
1 vote
2 answers
46 views

Kafka: Alternative to creating multiple consumer groups when reading from earliest offset

I'm building a microservice (using Quarkus framework for Java). When the service boots up, it will read messages from a topic (using a consumer) from the earliest offset and these messages will ...
rm12345's user avatar
  • 1,059
-1 votes
2 answers
43 views

quarkus telemetry logging disable at runtime

Is it possible to turn off open telemetry logging while opentelementry is enabled in Quarkus 2.x? Looking for something similar to io.opentelemetry.level = OFF Basically, i want to provide the ability ...
sg1973's user avatar
  • 91
0 votes
0 answers
15 views

Error injecting CompositeAuthenticationProvider in Quarkus

In Quarkus 2 there is an error with connecting Rest Clients. For each request to external API, I get a following error: "REST api call failed, Error injecting gen.apis.project.external.v1.api....
user18974278's user avatar
0 votes
1 answer
35 views

Kafka JSON Object Error: no String-argument constructor/factory method to deserialize from String value

I have an error deserializing this JSON string from kafka into java object. {"type":"CASA","batchList":["CVA348856650375401ABC","BNM346846350035548DEF"...
Eve's user avatar
  • 43
0 votes
1 answer
24 views

How to add a main method for Quarkus in Kotlin without warning

Following the quickstart with Quarkus (3.2.2) in Kotlin (source here: https://quarkus.io/guides/kotlin) I have defined a main method (translation from Java to Kotlin thanks to Intellij) (source to ...
olivierbeltrandocintoo's user avatar
0 votes
0 answers
15 views

Connection refused to injected S3Client devservice within @QuarkusIntegrationTest annotated test

When trying to connect to my S3Client which is launched by the quarkus.s3.devservices.enabled=true property, I run into a ConnectionRefused exception during my containerized QuarkusIntegrationTests. I ...
maxcao13's user avatar
0 votes
0 answers
19 views

Large SOAP response failed from quarkus with Quarkiverse-cxf

We are implementing a soap client in quarkus using the Quarkiverse-cxf extension which should receive in its response a base64 file, The problem we have is that the SOAP response is being incomplete ...
Juan Carlos Burgos Pulido's user avatar
0 votes
0 answers
25 views

How can I encrypt the config value for db-password on Keycloak 22?

I am sorry if this is a duplicate question, but I just could not find anything on the internet that can solve our problem. We are moving from the Wildfly distribution of Keycloak to the Quarkus ...
Nkuruza's user avatar
  • 23
0 votes
0 answers
26 views

Quarkus IBM MQ integration on z/OS

I understand from this discussion that the IBM MQ integration native image building scenario is covered by AMQP Connector. So far, so good. However, I have a question about the following scenario in ...
Daniele De Francesco's user avatar
0 votes
0 answers
38 views

Quarkus and Ibm Mq integration

i'm totally new to quarkus and i'm trying to figure out a way to integrate and connect to an ibm mq queue. My goal is to basically have a sender which send some string messages to a queue (with a ...
hunter662's user avatar
1 vote
0 answers
22 views

specify single version for multi module maven project

how to set single version for multi module maven project? I have got warning for define properties. 'version' contains an expression but should be a constant. also, I used revision property and then ...
a.nayebi's user avatar
0 votes
0 answers
53 views

Using Builder Lombok with enum in java

Good afternoon, I am currently working with quarkus and apache camen and I have a class called ContactMedium in which I must use enum called MediumType, as I show below: package org.tmve.customer.ms....
Cesar Justo's user avatar
0 votes
1 answer
40 views

PanacheRepositoryResource - Transaction is not active

I'm using Quarkus with Hibernate Rest Data Panache and I'm having issues while persisting data with a custom endpoint. import io.quarkus.hibernate.orm.rest.data.panache.PanacheRepositoryResource; ...
Francesco Steccanella's user avatar
0 votes
1 answer
44 views

How to add custom metrics to Keycloak 22 with Quarkus and MicroMeter

The recent versions of Keycloak, at leat 22.0.1, which are based on Quarkus now provide MicroMeter metrics in Prometheus format as documented on https://www.keycloak.org/server/configuration-metrics. ...
lathspell's user avatar
  • 3,040
-1 votes
1 answer
43 views

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 ...
Yousef's user avatar
  • 307

1
2 3 4 5
79