Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-20264 Zero-downtime / dynamic function upgrades in Stateful Functions
  3. FLINK-20335

Remove support for eager state specifications in module YAML definitions

    XMLWordPrintableJSON

Details

    Description

      With FLINK-20265, we now support declaring state in StateFun functions, and that can change dynamically without any system downtime.

      It can be confusing for users if we continued to support the legacy way of statically declaring state specifications in the module YAML definitions.

      Therefore, we propose to completely remove that by:

      • No longer support module YAML format versions <= 2.0.
      • Remove the PersistedRemoteFunctionValues constructor that accepts a list of eager state specifications

      This would be a breaking change:

      • Users upgrading to version 2.3.0 have to rewrite their module YAMLs to conform to format version 3.0
      • They also have to correspondingly update their functions to use SDKs of version 2.3.0.

      Attachments

        Issue Links

          Activity

            People

              tzulitai Tzu-Li (Gordon) Tai
              tzulitai Tzu-Li (Gordon) Tai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: