Questions tagged [quarkus]

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

Quarkus makes creating cloud-native container-first Java applications a productive and efficient experience.

Combine both the familiar imperative code and the non-blocking reactive style when developing applications.

Quarkus tailors your application for GraalVM and HotSpot. Amazingly fast boot time, incredibly low RSS memory (not just heap size!) offering near instant scale up and high density memory utilization in container orchestration platforms like Kubernetes. We use a technique we call compile time boot.

./my-native-java-rest-app

Quarkus started in 0.008s

A cohesive platform for optimized developer joy:

  • Unified configuration
  • Zero configuration, live reload in the blink of an eye
  • Streamlined code for the 80% common usages, flexible for the 20%
  • No hassle native executable generation

Quarkus brings a cohesive, fun to use full-stack framework by leveraging best of breed libraries you love and use wired on a standard backbone.

Useful links:

3982 questions
48
votes
3 answers

How can I debug my Quarkus application that is running in dev mode?

I have launched my application using the Quarkus dev mode (mvn quarkus:dev) and I would like to be able to debug it. How can do that?
geoand
  • 60,071
  • 24
  • 172
  • 190
46
votes
3 answers

How to create a Jandex index in Quarkus for classes in a external module

First of all, I have a multi-module maven hierarchy like that: ├── project (parent pom.xml) │   ├── service │   ├── api-library So now to the problem: I am writing a JAX-RS Endpoint in the service module which uses classes in the api-library. When…
Emre Isik
  • 696
  • 1
  • 7
  • 14
21
votes
2 answers

Quarkus how to set environment variables in application.properties

recently I swapped from thorntail to quarkus and I'm facing some difficulties trying to find how to set environment variables in application.properties in thorntail I used something like this ${env.HOST: localhost} that basically means put…
20
votes
4 answers

quarkusio change default debug port using quarkus:dev

I have two apps running. App1: Read from amq, enrich the message and send the message to App2 through other amq App2: Read the message and call another project for processing. Y want to debug booth Apps in the same time and see how the message…
Victor Avila
  • 353
  • 1
  • 3
  • 10
19
votes
1 answer

Why 'Quarkus' chose 'Agroal' instead of 'HikariCP' as the preferred datasource and connection pooling implementation?

As per the Quarkus documentation : In Quarkus, the preferred datasource and connection pooling implementation is Agroal. But, I don't see any review or comparison of 'Agroal' with the well known JDBC Connection Pooling implementation…
RafiAlhamd
  • 341
  • 2
  • 13
19
votes
4 answers

How to increase transaction timeout in Quarkus?

I have some configurations in my application.properties…
Renan Vaz
  • 305
  • 1
  • 3
  • 8
17
votes
3 answers

Logging HTTP requests and responses in quarkus resteasy

I am running into a problem with calling a REST endpoint on a server, using a REST client in Quarkus, built with the org.eclipse.microprofile.rest.client.RestClientBuilder. I would very much like to debug the service, by writing the HTTP requests…
Martin Nielsen
  • 1,865
  • 6
  • 30
  • 54
16
votes
1 answer

Why does Quarkus warn me about injection in private fields?

When I use something like the following in my Quarkus application: @Path("v1") @Produces(APPLICATION_JSON) public class HelloWorldResource { @Inject private SomeBean someBean; } then I get a warning the following during the build…
geoand
  • 60,071
  • 24
  • 172
  • 190
15
votes
3 answers

Maven multi module project with Quarkus in dev mode

I am new to Quarkus and try to use it in a Maven multi module project. My project is structured as followed: - quarkustest (pom) - quarkustest-application (jar) - quarkustest-backend (pom) - quarkustest-backend-rest-api (jar) -…
nils
  • 1,362
  • 1
  • 8
  • 15
15
votes
2 answers

How can use an in-memory H2 database when testing my Quarkus application?

I plan to use PostgreSQL as the database for my Quarkus application but I would like the convenience of using H2 in my tests. Is there a way I can accomplish such a feat?
geoand
  • 60,071
  • 24
  • 172
  • 190
14
votes
3 answers

How can I configure the port a Quarkus application runs on?

I would like my Quarkus application to run on a port other than the default. How can I accomplish that?
geoand
  • 60,071
  • 24
  • 172
  • 190
13
votes
1 answer

Read txt file from resources folder on maven Quarkus project From Docker Container

I have one project to parse some info from a large file. The project uses maven and java: And the structure bellow: When I run the application from my IDEA, I can read the file with: public void buffer() throws IOException { try (InputStream…
13
votes
2 answers

How to fix the error Caused by: java.net.BindException: Address already in use: bind in Quarkus?

I've created a quarkus quick start project with mvn io.quarkus:quarkus-maven-plugin:0.13.1:create \ -DprojectGroupId=com.demo.quarkus \ -DprojectArtifactId=quarkus-project \ -DclassName="com.demo.quarkus.HelloResource" \ …
ktulinho
  • 3,870
  • 9
  • 28
  • 35
12
votes
5 answers

What application server does quarkus use?

When starting a quarkus jar, I don't see any server starting up, all I see is: C:\Java Projects\quarkus-demo\target>java -jar quarkus-demo-1.0-SNAPSHOT-runner.jar 2020-01-04 18:25:54,199 WARN [io.qua.net.run.NettyRecorder] (Thread-1) Localhost…
D.Tomov
  • 1,018
  • 2
  • 15
  • 36
12
votes
1 answer

Where to put @OpenAPIDefinition?

The documentation for defining general API information using the quarkus-smallrye-openapi extension is extremely sparse, and does not explain how to use all the annotations for setting up the openApi generation. For some background, I am using a…
Snappawapa
  • 1,697
  • 3
  • 20
  • 42
1
2 3
99 100