Skip to content

Commit

Permalink
START WIP feature: #34 retry
Browse files Browse the repository at this point in the history
docs
  • Loading branch information
astubbs committed Jan 15, 2021
1 parent eceb9d2 commit 917e469
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/docs/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,19 @@ image::https://lucid.app/publicSegments/view/f7a05e99-24e6-4ea3-b3d0-978e306aa56

Even during retries, offsets will always be committed only after successful processing, and in order.

When a user function throws an error, this is currently taken as a retriable error.
The message will be placed back into the queue, and after a certain delay, a retry will be triggered.

To configure the retry delay, see `Options#defaultRetryDelay`.

At the moment there is no terminal error support, so messages will continue to be tried forever, but will not hold up the queues. Offsets will also continue to be committed (see <<_commit_mode>> and <<Offset Map>>).

Improvements to this system are planned.
See the following issues:

* https://github.com/confluentinc/parallel-consumer/issues/65[Enhanced retry epic #65]
* https://github.com/confluentinc/parallel-consumer/issues/48[Support scheduled message processing (scheduled retry)]
* https://github.com/confluentinc/parallel-consumer/issues/34[Monitor for progress and optionally shutdown (leave consumer group), skip message or send to DLQ #34]

== Result Models

Expand Down

0 comments on commit 917e469

Please sign in to comment.