networknt / light-eventuate-4j

An eventual consistency framework based on Event Sourcing and CQRS on top of light-4j and Kafka
Apache License 2.0
59 stars 20 forks source link

change default event handler package to root or wide range #90

Closed GavinChenYan closed 5 years ago

GavinChenYan commented 6 years ago

currently the event handler package scan range defined in eventuate-client.yml is: handlerPackage: ["com.networknt", "net.lightapi"] in case user forget define its config file, it may cannot find user defined event handler.

Change the default to root path or more wide range, like: ["com", "org", "net"]

stevehu commented 6 years ago

Let's change it to root path and then document it clearly how to improve the performance by specifying exact package for a specific application. We cannot assume that all app package will fall into com, org and net.