Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 733 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 733 Bytes

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