haskell-works / hw-kafka-client

Kafka client for Haskell, including auto-rebalancing consumers
MIT License
139 stars 50 forks source link

Is `ssl.ca.location` correctly checked? #188

Closed Gau-thier closed 2 years ago

Gau-thier commented 2 years ago

Hello,

Everything is in the title 😅. I firstly created the issue #182, but it turns out it is not linked to the rdkafka version used into hw-kafka-client.

I feel like there is something weird about the use of ssl.ca.location property. This trouble appears while we tried to update to your latest version. Hence, the problem seems to come from your library.

Would you mind help us to solve this? In our case, the ssl.ca.location is mandatory, and we cannot reach the consumed Kafka without it.

Best regards,

Gauthier

AlexeyRaga commented 2 years ago

Hi, I will have a look, but I don't remember that hw-kafka-client even knows about or has anything to do with ssl.ca.location.

I feel like there is something weird about the use of ssl.ca.location property.

How do you set this property?

Gau-thier commented 2 years ago

Hi @AlexeyRaga!

I finally got the answer! The rdkafka I am provisioning with my nix-shell (on nixpkgs-unstable) is the 1.8.0, while the latest (installed globally from brew install librdkafka) is the 1.8.2. A quick look at the release notes, just confirm my thoughts: image

Sorry to have bothered you about that 🙏🏻, hw-kafka-client is totally out of concern of this trouble!