Our Team is currently exploring the axon Framework for a new Project,
and we built a Little Spring Boot application that uses Axonframework 3.0-M3.
We wrote a Little logic about commands and Events, that Primary does pretty much what the getting started supposes.
A test creates a command with some Parameters and expects a proper Event to appear (and is green).
The unexpected part is, that if we create multiple commands with the same Id (the id is annotated with @AggregateIdentifier),
no one cares. We thought, that the Event store should warn or throw an exception.
We use: SimpleCommandBus, DefaultCommandGateway, InMemoryEventStorageEngine, EmbeddedEventStore, SimpleEventBus, EventSourcingRepository.
So the question: Is it regular, that the EventStore equal id’s? If yes: Who is responsible to validate the uniqueness of ids? If not: Is it possible, that there is a bug, or should I probably use another EventStorageEngine to accomplish a uniqueness validation?
I appreciate any help on this Topic!