Skip to content

Commit

Permalink
retry Consumer.CommitTimeout exception (#1140)
Browse files Browse the repository at this point in the history
  • Loading branch information
myazinn authored Dec 20, 2023
1 parent 079a74f commit b741f60
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zio-kafka/src/main/scala/zio/kafka/consumer/Offset.scala
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ object Offset {
commit.retry(
Schedule.recurWhile[Throwable] {
case _: RetriableCommitFailedException => true
case Consumer.CommitTimeout => true
case _ => false
} && policy
)
Expand Down

0 comments on commit b741f60

Please sign in to comment.