Sarama: any idea for producer/consumer reconnect?

Created on 15 Mar 2014  路  3Comments  路  Source: Shopify/sarama

thank u for good job for this project
when use sarama, i come across a problem that how could i catch the connect error to reconnect? any idea for that? thank u:)

client question

Most helpful comment

Sarama should try to (re)connect to the Kafka cluster automatically on network errors.

If that doesn't work, can you set sarama.Logger to capture the output, and paste it here?

All 3 comments

:+1:

Sarama should try to (re)connect to the Kafka cluster automatically on network errors.

If that doesn't work, can you set sarama.Logger to capture the output, and paste it here?

Closing for lack of response. Please feel free to re-open if you have more questions.

Was this page helpful?
0 / 5 - 0 ratings