Is there any decent pattern on how to seed a job s...
# random
d
Is there any decent pattern on how to seed a job state if migrating from another technology (I want to move a stateful service that has limited state data but gets a lot of load to Flink and would like to initialize some relevant values). Could generating a with the State Processor API and then resuming the new flink job from that savepoint be a solid approach?
d
Yes, bootstrapping state was one of the primary motivations for developing the state processor API.
gratitude thank you 1
This small example β€” https://gist.github.com/alpinegizmo/ff3d2e748287853c88f21259830b29cf β€” is a bit out of date, but might help nonetheless.
d
Thanks, will read through the docs and try to use that!
d
The out-of-date-ness of that example comes from it using the DataSet API. The State Processor API was recently ported over to the DataStream API.
πŸ‘ 2