While setting up axon in our microservice project, we want to hide complexity from other services. So basically apps will start to use axon, but the api will suggest “normal” behavior.
We came up with a library that provides a database projection and an eventhandler that deals with receiving events and persiting entities. This library will be included in multiple applications.
Now I wonder … the eventProcessor name of all usages of the eventHandler will be the same … either the package name of the lib or a constant I set arbitrary … I suppose multiple apps using the lib will conflict then, because they form an imlicit eventProcessor group? How can I deal with this? What I would need (supposing I am right with my first assumption) is to have the application name of the app using the lib as part of the eventProcessor name …
Any ideas?
Thanks
Jan