[ 
https://issues.apache.org/jira/browse/FLINK-37525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jiaan Geng updated FLINK-37525:
-------------------------------
    Description: 
Currently, the implementation of installModules has the logic show below.

{code:java}
for (String moduleFactoryClass : config.getSecurityModuleFactories()) {
    ...
    moduleFactory = 
SecurityFactoryServiceLoader.findModuleFactory(moduleFactoryClass);
    ...
}
{code}




  was:
Currently, the implementation of installModules has the logic show below.
for (String moduleFactoryClass : config.getSecurityModuleFactories()) {
moduleFactory = 
SecurityFactoryServiceLoader.findModuleFactory(moduleFactoryClass);
}


> Introduce overload findModuleFactory to improve the performance of 
> installModules
> ---------------------------------------------------------------------------------
>
>                 Key: FLINK-37525
>                 URL: https://issues.apache.org/jira/browse/FLINK-37525
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / Configuration
>            Reporter: Jiaan Geng
>            Priority: Major
>              Labels: pull-request-available
>
> Currently, the implementation of installModules has the logic show below.
> {code:java}
> for (String moduleFactoryClass : config.getSecurityModuleFactories()) {
>     ...
>     moduleFactory = 
> SecurityFactoryServiceLoader.findModuleFactory(moduleFactoryClass);
>     ...
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to