heetch / felice

Felice is a nascent, opinionated Kafka library for Go, in Go
MIT License
20 stars 1 forks source link

consumer: use exponential backoff when handling messages #37

Closed rogpeppe closed 5 years ago

rogpeppe commented 5 years ago

It's configured with the Config.MaxRetryInterval field. The RetryInterval field is removed, which makes this a backwardly incompatible change, justified because we're not yet at v1.

We use this retry package which provides easily-configurable retry strategies.

Also start using Go modules.

Fixes #29.