Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To retain full backwards compatibility a new methods `boolean isLegacyStateBackend` will be added to the StateBackend interface with a default implementation of true. When in legacy mode, all existing state backend implementations will continue to function as they do today and any provided SnapshotStorage will be ignored. And because we are using the same internal data structures, users will be able to trivially migrate to the new API.


All flink-conf configurations will be duplicated for the new state backend or snapshot storage instance, which ever is appropriate. Again, no functionality will be added or dropped in this change. Existing flink-conf keys will also be specified as deprecated keys of on the new state backends to ease migration.