You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2020/06/03 08:47:00 UTC
[jira] [Created] (KAFKA-10089) The stale ssl engine factory is not
closed after reconfigure
Chia-Ping Tsai created KAFKA-10089:
--------------------------------------
Summary: 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
{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)