We want to restrict the Event Processor to check only for immediate previous events and not an entire stack of events

Hi,

how does your aggregate looks like?
Do you use @EventSourcingHandler or @EventHandler there? The latter is not correct. See differences between @eventhandler and @eventsourcinghandler .

Where is the event triggered (with apply)?
Did you test your aggregate with a unit test?

What confuses me is that every command has the same UUID. Is that intended?

Best regards,
JohT

2 Likes