I am trying to create one stream that will combine all events for one aggregate, eg Order. So event types would be like OrderCreated, OrderLineAdded, OrderDeliveryAddressChanged and so on.
Is if possible to avoid having "when: " for each individual event type and have something like when: “Order*” instead?
In the domain event sourcing I of course have one stream per aggregate. I use Yver’ AggregageSource with James’ AS.ES repository implementation (with some changes).
The scenario that I need is to integrate with external systems. They need to be informed about all changes in particular aggregate, like all Order events or all Customer events.