Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Always, the most "conservative" thing will hit first. E.g., if there is a retryable error, the producer has a retry timeout, and the handler might have one; whichever timeout hits first will stop the retry loop. If the handler says "SWALLOW",  we also break the retry loop (more conservative), and if the handler says FAIL, we fail right away, not even waiting for a timeout to hit

The default behaviour stays as it is, but the user can change the behaviour by implementing the handle() function.

. Obviously, the order of conservativity is FAIL > SWALLOW > RETRY, where FAIL is the most conservative action and RETRY is the least.

...