{"repo":"ozangunalp/kafka-native","free":true,"listed":false,"github":"https://github.com/ozangunalp/kafka-native","clone":"git clone https://github.com/ozangunalp/kafka-native.git","description":"Kafka broker compiled to native using Quarkus and GraalVM.","language":"Java","stars":115,"topics":["java","kafka","quarkus","test-containers","zookeeper"],"license":"Apache-2.0","category":"data-pipelines","readme_excerpt":"Kafka Native Kafka broker compiled to native using Quarkus and GraalVM. Project Structure - quarkus-kafka-server-extension : Quarkus extension including for compiling Kafka Server to native using GraalVM. - kafka-server : Quarkus application starting a Kafka server using the kafka-server-extension. Compiles to JVM and native executable. - kafka-native-test-container : Test containers starting a single-node Kafka broker using the native-compiled kafka-server. Includes integration tests. Building the project Running kafka in dev mode You can run kafka in dev mode that enables live coding using: Starts a single-node Kafka broker listening on PLAINTEXT://9092 . Uses ./target/log-dir as log directory. Packaging and running the application The application can be packaged using the following on either the kafka-server directory: It produces the quarkus-run.jar file in the target/quarkus-app/ directory. Be aware that it’s not an über-jar as the dependencies are copied into the target/quarkus-app/lib/ directory. The application is now runnable using java -jar target/quarkus-app/quarkus-run.jar . Creating native executables You can create a native executable using the following either the kafka-server directory: Or, if you don't have GraalVM installed, you can run the native executable build in a container using: You can then execute your native executable with: ./target/kafka-server-1.0.0-SNAPSHOT-runner Creating a container from native executable You can create a container from the n","default_branch":null,"files":null,"tree":[],"storefront":"/r/ozangunalp","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ozangunalp/kafka-native/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}