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

Related issues

male110 picture male110  路  6Comments

korjavin picture korjavin  路  3Comments

thomaslee picture thomaslee  路  7Comments

amitgurav04 picture amitgurav04  路  7Comments

damiannolan picture damiannolan  路  4Comments