kafkaex / kafka_ex

Kafka client library for Elixir
MIT License
596 stars 162 forks source link

Error using Kayrock with SSL #441

Open joechiarella opened 3 years ago

joechiarella commented 3 years ago

When using Kayrock with kafka_ex, we ran into an error around using SSL.

16:53:56.681 [error] Could not connect to broker [redacted] because of error {:error, :ssl_not_started}

We tried everything we could to get ssl started, and eventually realized we needed a different solution, to add disable_default_worker: true to our kafka_ex config. It looks like it was trying to maybe start up the non-kayrock worker without initializing SSL.

I'd love to either see this added to the documentation for using Kayrock with kafka_ex or a code change to handle it automatically, whatever makes sense. I'm available to help with any solution, we're happy to see advancement in the elixir kafka space.