Skip to content

Don't request redelivery of dead letter messages - #4426

Merged
merlimat merged 1 commit into
apache:masterfrom
ivankelly:dead-letter-race
May 31, 2019
Merged

merlimat merged 1 commit into
apache:masterfrom
ivankelly:dead-letter-race

Conversation

@ivankelly

Copy link
Copy Markdown
Contributor

If we send a message to the dead letter topic, we shouldn't also
request that the same message be redelivered.

The process to send to DLQ does do an acknowledge(), but acknowledge
is async and not guaranteed, so it can race with the redelivery
request.

If we send a message to the dead letter topic, we shouldn't also
request that the same message be redelivered.

The process to send to DLQ does do an acknowledge(), but acknowledge
is async and not guaranteed, so it can race with the redelivery
request.
@ivankelly ivankelly added the type/bug The PR fixed a bug or issue reported a bug label May 31, 2019
@ivankelly ivankelly self-assigned this May 31, 2019
@merlimat merlimat added this to the 2.4.0 milestone May 31, 2019
@merlimat
merlimat merged commit c756686 into apache:master May 31, 2019
@ivankelly
ivankelly deleted the dead-letter-race branch July 10, 2019 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/bug The PR fixed a bug or issue reported a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants