pe-st / wildfly-hello-mutiny

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using Mutiny and Kafka with Wildfly

This example project accompanies the blog article Sending a Hello from Mutiny in Wildfly.

Compile and Run

Start Kafka

If you don't Kafka running ready, you can run it with Docker (e.g. with Docker Desktop)

cd ~/Documents/git/wildfly-hello-mutiny

docker compose --ansi never up -d

Start Wildfly

cd ~/Documents/git/wildfly-hello-mutiny

export WILDFLY_HOME=~/Documents/wildfly-28.0.0.Final
$WILDFLY_HOME/bin/standalone.sh --read-only-server-config=src/main/wildfly/standalone.xml

Deploy the Application

mvn clean package
mvn wildfly:deploy

# when you've had enough
mvn wildfly:undeploy

MicroProfile Reactive Messaging with Kafka

Mutiny

Wildfly 28

comes with

  • MP Reactive Messaging 3.0
  • MP Reactive Stream Operators 3.0
  • SmallRye Reactive Messaging 4.3
  • SmallRye Mutiny 2.1
  • Apache Kafka Client 3.4

About

License:MIT License


Languages

Language:Java 100.0%