Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-10089

The stale ssl engine factory is not closed after reconfigure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.6.0
    • None
    • None

    Description

          @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());
              }
          }
      

      Attachments

        Issue Links

          Activity

            People

              chia7712 Chia-Ping Tsai
              chia7712 Chia-Ping Tsai
              Rajini Sivaram Rajini Sivaram
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: