Skip to content

Conversation

@PaulMejiaFeliz
Copy link
Contributor

@PaulMejiaFeliz PaulMejiaFeliz commented Nov 8, 2021

Overview

Change queues declaration logic to support retries when the jobs fail. In order to achieve that this pull request updates the consumer to manually acknowledge or reject jobs. There are 2 possible scenarios:

  • When no delay is required add an exchange to Rabbitmq to handle falling jobs
  • When delay is required add a "nack handle" exchange that sends the failed jobs to a waiting queue with a "time to live" defined. After the time is up a "requeue handle" exchange sends the job back to the main queue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants