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

Rajini Sivaram resolved KAFKA-10089.
------------------------------------
    Fix Version/s: 2.6.0
         Reviewer: Rajini Sivaram
       Resolution: Fixed

> The stale ssl engine factory is not closed after reconfigure
> ------------------------------------------------------------
>
>                 Key: KAFKA-10089
>                 URL: https://issues.apache.org/jira/browse/KAFKA-10089
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>            Priority: Minor
>             Fix For: 2.6.0
>
>
> {code}
>     @Override
>     public void reconfigure(Map<String, ?> newConfigs) throws KafkaException {
>         SslEngineFactory newSslEngineFactory = 
> createNewSslEngineFactory(newConfigs);
>         if (newSslEngineFactory != this.sslEngineFactory) {
>             this.sslEngineFactory = newSslEngineFactory; // we should close 
> the older one
>             log.info("Created new {} SSL engine builder with keystore {} 
> truststore {}", mode,
>                     newSslEngineFactory.keystore(), 
> newSslEngineFactory.truststore());
>         }
>     }
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to