Customizing data in EventStore

Hi,

I was new to AXON framework and have gone through documentation and samples.

As per my understanding, the data goes into Event Store is tightly coupled with respective StorageStrategy, EventConfiguration and EventEntry.

Does AXON provide capability to customize this process and store extra data in Event Store? If yes, can you provide details.

Thanks

Hi,

usually, custom data is added to EventMessages as Meta Data. However, if you really need to add custom data, you can customize the EventStorageEngine by creating a subclass and overriding certain methods. That way, you can define your own Entity class to use, instead of the EventEntry, for example.

Hope this helps.
Cheers,

Allard

Thanks Allard. I will try to customize required classes.