项目作者: thowimmer

项目描述 :
Axon Spring Boot Demo - Handle only events published by same instance
高级语言: Kotlin
项目地址: git://github.com/thowimmer/axon-eventhandling-same-instance.git


Axon Spring Boot Demo - Handle only events published by same instance

This Spring Boot demo project shows how to configure the Axon Framwork, so that Events are only handled by the instances which publish them.

See Stack Overflow discussion with Steven van Beelen for further details.

Basic Axon Setup

How to run

1) Start Docker Compose based SQL Server instance

Use the sql-server-test-db run config if you’re using IntelliJ IDEA or start the docker-compose.yml otherwise.

2) Start instance of Spring Boot application

Use the new-app-instance run config if you’re using IntelliJ IDEA or start the Application.kt otherwise.