zendesk / racecar

Racecar: a simple framework for Kafka consumers in Ruby
Apache License 2.0
482 stars 93 forks source link

Expose ssl.endpoint.identification.algorithm option #367

Open neontuna opened 5 months ago

neontuna commented 5 months ago

Having issues with Heroku Kafka due to this option defaulting to https on newer versions of librdkafka. ssl.endpoint.identification.algorithm

https://help.heroku.com/DL63LTUX/why-do-i-receive-an-ssl-handshake-failure-when-using-the-kafka-2-x-client-with-heroku-kafka

If there's a way to access to those underlying configation options - I can't find it.

deepredsky commented 5 months ago

@neontuna You can pass any config option that librdkafka supports and not already exposed by racecer by using this

https://github.com/zendesk/racecar/blob/master/lib/racecar/config.rb#L35-L39