daggerok / java-mp-smallrye-kafka-example

Kafka messaging java example of SmallRye micro-profile and JBoss Weld CDI.using maven

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kafka Smallrye MicrpProfile

Kafka messaging java example of SmallRye micro-profile using maven

this app requires kafka

./run-local-kafka.sh
# or: ./run-kafka-in-docker.sh

build and run fatJar

mvn clean package
java -jar target/*-all.jar

run using maven

mvn clean compile exec:java -Dexec.mainClass=com.github.daggerok.App
# or
mvn clean compile exec:java -Dexec.mainClass=org.jboss.weld.environment.se.StartMain 

for debugging purpose run App main class right from IDE in debug mode

About

Kafka messaging java example of SmallRye micro-profile and JBoss Weld CDI.using maven


Languages

Language:Java 74.9%Language:Shell 25.1%