Zixuan Rao created FLINK-27796:
----------------------------------

             Summary: Document approaches to updating existing instances of 
stateful functions
                 Key: FLINK-27796
                 URL: https://issues.apache.org/jira/browse/FLINK-27796
             Project: Flink
          Issue Type: Improvement
          Components: Stateful Functions
    Affects Versions: statefun-3.2.0
            Reporter: Zixuan Rao


As a startup company utilizing stateful functions, we often meet the needs to 
modify our applications after it is deployed. Some documentation on the best 
practice / methods of upgrading the application would be helpful.

 

For version 3.2, it seems to me that merely changing an ingress configuration 
in `module.yaml` and restart deployment related to statefun would break the 
running application. After I recovered the ingress definition to previoius 
version, the checkpoint restore was successful. I think that it is necessary to 
have a Quick Reference / Guide on how to upgrade, and which configurations 
should be considered immutable. 

 

A documentation from the maintainer would obviously be preferred. I could also 
write a skeleton that includes some of my tried-and-true approaches, so that 
the community can build on top of it by correcting some of the mistakes in my 
approach.

 

Let me know how I can be of help, or if there are other documents I can refer 
to.

 

Thank you.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to