You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Rajini Sivaram (Jira)" <ji...@apache.org> on 2020/06/03 18:11:00 UTC

[jira] [Resolved] (KAFKA-10089) The stale ssl engine factory is not closed after reconfigure

     [ 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)