byzer-lang icon indicating copy to clipboard operation
byzer-lang copied to clipboard

Enable load external plugins by package

Open lwz9103 opened this issue 3 years ago • 2 comments

mlsql enables load multiple plugins, like apps, ets and others. But, we need to specify the streaming.plugin.clzznames, if we have many plugins to load, this param will be very long.

In general, we will develop plugins in the same package for one purpose. So if mlsql can provide loading plugins by package, users can simplify the config.

lwz9103 avatar Jul 02 '21 06:07 lwz9103

Dev Design

  • Add config streaming.plugin.packages

  • Scan the package and load plugins in top-level

    Recursive scan sub-packages will consume a lot of time

lwz9103 avatar Jul 02 '21 06:07 lwz9103

Test Evidence

  1. Add plugin lib image

  2. Add config in the start command image

  3. Use plugin ets function image

lwz9103 avatar Jul 02 '21 06:07 lwz9103