StateFun - Multiple modules example

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

StateFun - Multiple modules example

Oytun Tez
Hi there,

Does anyone have any statefun 2.0 examples with multiple modules?



 --

MotaWord
Oytun Tez
M O T A W O R D CTO & Co-Founder
[hidden email]
     
Reply | Threaded
Open this post in threaded view
|

Re: StateFun - Multiple modules example

Tzu-Li (Gordon) Tai
Hi Oytun!

You can see here an example of how to package a StateFun application image that contains multiple modules:
https://ci.apache.org/projects/flink/flink-statefun-docs-stable/deployment-and-operations/packaging.html#images

Essentially, for each module you want to include in your application, you add the jar containing the service file (for embedded JVM functions)
or the YAML module definition file (for remote functions) under the "/opt/statefun/modules" directory of the packaged image.

Cheers,
Gordon


On Thu, Apr 9, 2020 at 7:43 AM Oytun Tez <[hidden email]> wrote:
Hi there,

Does anyone have any statefun 2.0 examples with multiple modules?



 --

MotaWord
Oytun Tez
M O T A W O R D CTO & Co-Founder
[hidden email]