azure-functions-kafka-extension
azure-functions-kafka-extension copied to clipboard
SslCaLocation "probe" configuration is not supported
The KafkaTriggerAttributeBindingProvider checks the SslCaLocation to be a valid file path, but according to the Confluent ClientConfig class the value probe is also a valid configuration, which allows the library to probe for valid ca location paths:
File or directory path to CA certificate(s) for verifying the broker's key.
Defaults:
On Windows the system's CA certificates are automatically looked up in the Windows Root certificate store.
On Mac OSX this configuration defaults to `probe`. It is recommended to install openssl using Homebrew, to provide CA certificates.
On Linux install the distribution's ca-certificates package. If OpenSSL is statically linked or `ssl.ca.location` is set to `probe` a list of standard paths will be probed and the first one found will be used as the default CA certificate location path. If OpenSSL is dynamically linked the OpenSSL library's default path will be used (see `OPENSSLDIR` in `openssl version -a`).
It would be nice to be able to set the SslCaLocation configuration explicitly to probe.