Red Hat build of Quarkus: Kubernetes-native Java
Kubernetes-native Java with low memory footprint and fast boot times for microservices and serverless applications.
Kubernetes-native Java with low memory footprint and fast boot times for microservices and serverless applications.
You can get up and running with the Red Hat build of Quarkus in just a few simple steps using your command-line interface (CLI). Open your favorite terminal and use JBang to install the Quarkus CLI. You do not need to have Java installed first. See below for instructions specific to your environment.
Quarkus requires Java to be installed on your machine for it to run. To install Java on your machine, get the Red Hat build of OpenJDK from here.
Start building in seconds using this Quarkus quick start. Choose from the download options based on your preferred build tool.
The Quarkus project generator generates a boilerplate for you to get started with your application in seconds. It enables you to select your Quarkus extensions, Quarkus version, and build tool. By taking advantage of Red Hat generated projects, you can gain a significant boost to your product velocity.
Start building in seconds using this Quarkus quick start. Choose from the download options based on your preferred build tool.
The Quarkus project generator generates a boilerplate for you to get started with your application in seconds. It enables you to select your Quarkus extensions, Quarkus version, and build tool. By taking advantage of Red Hat generated projects, you can gain a significant boost to your product velocity.
Run the Quarkus app in development mode on your machine by running the following command:
quarkus dev
Quarkus makes it easy to change your code on the fly. Let's see this in action by modifying the RESTful endpoint.
Open src/main/java/org/acme/GreetingResource.java
in a text editor or your favorite IDE and change Hello from RESTEasy Reactive
to Hola from RESTEasy Reactive.
Then refresh the browser to view the changes.
@Path("/hello")
public class GreetingResource {
@GET
@Produces(MediaType.TEXT_PLAIN)
public String hello() {
return "Hello from RESTEasy Reactive";
}
}
Cool stuff right? Learn more about Quarkus's dev mode.
There are multiple ways to deploy the Quarkus applications to OpenShift. Explore popular approaches below and choose the option that fits your needs.
OpenShift’s developer experience enables teams to simply deploy the source without having to deal with complex deployment configs. This approach uses Red Hat build of OpenJDK runtime.
You can deploy Quarkus applications using the oc CLI tool. This option is preferred by developers who prefer working with the CLI and integrating with toolchains.
This option is best suited for teams that have containerized their application and have an image deployed to an image registry like Red Hat Quay or Docker Hub.
Quarkus is cloud-native, making your deployment process a breeze. Discover additional capabilities below..
Configure data sources and obtain a reference to those data sources in code
with pool tuning configuration properties.
Apache Kafka is a popular open source distributed event streaming platform. Quarkus provides support for Apache Kafka through SmallRye Reactive Messaging framework.
Reactive is an essential tenet of the Quarkus architecture. Quarkus includes many reactive features and offers a broad ecosystem.
The Quarkus security framework provides built-in security authentication mechanisms for basic, form-based, and mutual TLS (mTLS) authentication.
When we say Quarkus is everywhere, we mean everywhere. Quarkus is a flexible and powerful Java framework that makes it easy for developers to integrate and incorporate a variety of application services. Quarkus is both integrated with supported via a number of Red Hat product bundles.
Quarkus is tightly integrated with Runtimes products such as Red Hat Data Grid for fast access to data and Keycloak single sign-on for authentication. Quarkus also includes a Spring Boot compatibility layer to make it easier for Spring developers to create Quarkus applications.
Quarkus is integrated with Red Hat AMQ streams, based on Strimzi and Kafka, to develop event-driven applications as well as Red Hat Fuse, based on Apache Camel, to create and compose Kubernetes-native serverless and microservices applications.
Quarkus is natively integrated with Red Hat OpenShift to make it easier to deploy and manage applications. This integration includes familiar tooling, remote cluster development, integration with managed configurations, and one-step deployment of containerized and serverless applications. Get started with Quarkus in the Developer Sandbox for Red Hat OpenShift.
Linux is widely deployed across data centers, edge networks, and the cloud. Quarkus provides Java developers with a framework that is ideal for Linux distributions due to its efficient use of memory resources and fast startup times.