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)