Skip to content

Commit

Permalink
Correct kafka option (#181)
Browse files Browse the repository at this point in the history
Signed-off-by: clyang82 <[email protected]>
  • Loading branch information
clyang82 authored Oct 8, 2024
1 parent 1129bda commit da9ee76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/eventing/kafka/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ func (o *Options) AddFlags(fs *pflag.FlagSet, prefix string) {
fs.StringVar(&o.SslCaLocation, prefix+"ssl-ca-location", o.SslCaLocation, "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`). \n*Type: string*")
fs.StringVar(&o.SslCaPem, prefix+"ssl-ca-pem", o.SslCaPem, "CA certificate string (PEM format) for verifying the broker's key. \n*Type: string*")
fs.StringVar(&o.SslCrlLocation, prefix+"ssl-crl-location", o.SslCrlLocation, "Path to CRL for verifying broker's certificate validity. \n*Type: string*")
fs.StringVar(&o.SslKeystoreLocation, prefix+"ssl-keystore-location", o.SslKeyLocation, "Path to client's keystore (PKCS#12) used for authentication. \n*Type: string*")
fs.StringVar(&o.SslKeystoreLocation, prefix+"ssl-keystore-location", o.SslKeystoreLocation, "Path to client's keystore (PKCS#12) used for authentication. \n*Type: string*")
fs.StringVar(&o.SslKeystorePassword, prefix+"ssl-keystore-password", o.SslKeystorePassword, "Client's keystore (PKCS#12) password. \n*Type: string*")
fs.StringVar(&o.SslProviders, prefix+"ssl-providers", o.SslProviders, "Comma-separated list of OpenSSL 3.0.x implementation providers. E.g., default,legacy. \n*Type: string*")
fs.StringVar(&o.SslEngineId, prefix+"ssl-engine-id", o.SslEngineId, "OpenSSL engine id is the name used for loading engine. \n*Type: string*")
Expand Down

0 comments on commit da9ee76

Please sign in to comment.