Demonstrating Axon Framework, JGroups and Docker
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gradle/wrapper
src/main
.gitignore
Dockerfile
README.md
build.gradle
docker-compose.yml
gradlew
gradlew.bat
settings.gradle

README.md

Axon Framework, JGroups and Docker

This is a simple project to demonstrate how to get Axon Framework (3.3) and JGroups (4) working together in a Docker environment.

For more information about the JGroups integration in Axon, see https://docs.axonframework.org/v/3.0/part-iii-infrastructure-components/command-dispatching

Prerequisites

Running

$ docker build -t axon-jgroups-demo .
$ docker-compose up

You should see a few things:

  • Two containers will be started
  • They will form a JGroups cluster
  • The first container will send 100 commands to Axon
  • Axon will distribute the commands evenly over both containers