Myasuka opened a new pull request #7779: [FLINK-11691] Introduce ClassLoader in the methods of StateBackendFactory and ConfigurableStateBackend URL: https://github.com/apache/flink/pull/7779 ## What is the purpose of the change Introduce parameter of `ClassLoader` to APIs of `StateBackend#configure(Configuration)` and `StateBackendFactory#createFromConfig(Configuration)`. This is really helpful for anything needed to instantiate through reflection when calling `StateBackend#configure(Configuration)`, so that those instantiated objects could be configured via the configuration. After this PR merged, `OptionsFactory` in `RocksDBStateBackend` ([FLINK-10912](https://issues.apache.org/jira/browse/FLINK-10912)) and the compression decorator in StateBackend ([FLINK-11313](https://issues.apache.org/jira/browse/FLINK-11313)) could gain the benefit to be configurable. ## Brief change log - Add parameter of `ClassLoader` to current API `StateBackend#configure(Configuration)` - Add parameter of `ClassLoader` to current API `StateBackendFactory#createFromConfig(Configuration)` ## Verifying this change This change mainly add a parameter to two APIs by just simply handing over to next-layer methods, and should already be covered by existing tests. ## Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): **no** - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: **yes** - The serializers: **no** - The runtime per-record code paths (performance sensitive): **no** - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: **no** - The S3 file system connector: **no** ## Documentation - Does this pull request introduce a new feature? **no** - If yes, how is the feature documented? **not applicable**
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
