ecattez / shahmat

A Chess implementation with the Domain Driven Design
https://ecattez.github.io/shahmat/
GNU General Public License v3.0
3 stars 0 forks source link

Use of Spring Event instead of Guava #38

Open ecattez opened 4 years ago

ecattez commented 4 years ago

Spring has an Event Publisher and allow to create custom events. There is no need to use Guava.

Domain events should be mapped as published events (infra) with stream id, timestamp etc..

Published events can then be added to EventStore and handled by Event Handlers.