edenhill / kcat

Generic command line non-JVM Apache Kafka producer and consumer
Other
5.45k stars 484 forks source link

KCAT ignores ssl.ca.location if it's in config file #443

Open lavalex opened 11 months ago

lavalex commented 11 months ago

Hello,

I noticed that if I use config file, instead of supplying all properties through command line, for some reason KCAT does not pick up ssl.ca.location property.

Any idea why it doesn't work with config file?

thank you.

lavalex commented 11 months ago

After some additional digging, it's actually "ssl.endpoint.identification.algorithm=none" that is being ignored .... When specified through command line woks fine.

lavalex commented 11 months ago

And with some more debuging "-d conf", I nothiced that the above property is totally ignore from the file and removed this part of the code: image

Recompiled and everything works now. Hope it makes sense.