Skip to content

This project goal is to have a better understanding using Quarkus framework with GraalVM, kafka and reactive.

License

Notifications You must be signed in to change notification settings

divitngoc/quarkus-graalvm-kafka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quarkus-graalvm-kafka

This project goal is to have a better understanding using Quarkus framework with GraalVM, kafka and reactive.

Prerequisites

Kafka

To start up Kafka, navigate to root directory of the project and run:

docker-compose up

Quarkus App on Docker

To build and run the application natively on docker, we can use the Dockerfile.multistage:

Docker build

docker build -f ./docker/Dockerfile.multistage -t quarkus-app ./quarkus-api-server

Or

If not, we can use the Dockerfile.native file instead but we must first package our application:

mvn -f quarkus-api-server/pom.xml package -Pnative -Dquarkus.native.container-build=true

and then:

docker build -f ./docker/Dockerfile.native -t quarkus-app ./quarkus-api-server

Docker run

and finally, run it with:

docker run -i --rm -p 8081:8081 quarkus-app

Monitoring

Ctop

docker run -ti -v /var/run/docker.sock:/var/run/docker.sock quay.io/vektorlab/ctop:latest

About

This project goal is to have a better understanding using Quarkus framework with GraalVM, kafka and reactive.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published