forked from apache/flink
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FLINK-16913] Migrate StateBackends to use ReadableConfig instead of …
…Configuration StateBackendFactories do not need a full read and write access to the Configuration object. It's sufficient to have read only access. Moreover the ReadableConfig is a lightweight interface that can be implemented in other ways, not just through the Configuration. Lastly we exposed this lightweight interface as a configuration entry point for ExecutionEnvironments. This change will make it possible to pass the ReadableConfig directly to the StateBackendFactories without fragile adapters.
- Loading branch information
Showing
31 changed files
with
126 additions
and
453 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
328 changes: 0 additions & 328 deletions
328
...re/src/main/java/org/apache/flink/configuration/ReadableConfigToConfigurationAdapter.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.