May events fire other events?


I wonder if an event is allowed to trigger other events. For example an aggregate A subscribes events from B and changes it’s state (i.e. fires own events) when A changes. Althought it looks like an interesting way to wire things together, I guess it could be a terrible thing when replaying events. Are there better approaces to do such?

Kind regards,

Have a look at the Saga support in Axon. In your example, a saga would listen for events from A and then issue commands to B. B would then fire its events in response to the command.