Details
-
Enhancement
-
Resolution: Unresolved
-
Major
-
None
-
0.9.2.Final
-
None
Description
Currently the EmbeddedEngine tries to resolve most its dependencies using classloader reflection.
While this helps to keep the code more self-content, it makes it very hard (impossible in fact) to integrate in 3rd party frameworks that could instantiate and initially some of the dependencies such as SourceConnector and OffsetBackingStore outside the EmbeddedEngine constructor.
It will make the EmbeddedEngine more reusable if above dependencies cloud be passed along as constructor arguments.
The classloader functionality can be used as default mechanism if the dependencies are not provided as arguments.
Please, let me know what do you think? If necessary i can drop in a sample PR with those changes?