-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor consumer callbacks to (n)ack *after* execution.
The existing behaviour is basically the same as always having no_ack=TRUE, in that messages are unequivocally acknowledged. However, it is sometimes desirable to distinguish processing which fails from that which succeeds, so callbacks which throw an error will now nack messages instead -- without requeing them. Since nack without requeue is only *semantically* (not operationally) different than acknowledgment, existing workflows are unlikely to be affected. Documentation has been updated to reflect this behaviour. Part of #2.
- Loading branch information
Showing
4 changed files
with
38 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters