Github user wuchong commented on the issue:
https://github.com/apache/flink/pull/4172
@kl0u , do you mean compile code to `IterativeCondition` and set it to
`StateTransition.newCondition` field instead of the original wrapper? And it
will be serialized during snapshot and deserialized in the next time we get the
NFA. But I'm afraid it will throw ClassNotFound exception when deserializing.
You can try this code snippet:
https://gist.github.com/wuchong/4d6fc04c131ebcb544665f6518ac0a5e
Maybe I missed something.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---