This repository has been archived by the owner on Jun 23, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
consumer: use default retry interval when MaxRetryInterval is zero
It seems that kafka-go is setting MaxRetryInterval to zero if a service doesn't explicitly set a retry interval, and that will result in backoff with no time limit on the retry interval, so use the default retry interval whenever MaxRetryInterval is zero. As retries have been removed from felice in master but we want to retrofix this without upgrading kafka-go to the latest felice, this is targetted at the sendmessages-v0.4.0 feature branch, which will also contain the new SendMessages feature backported.
- Loading branch information