Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] Redeliver messages that can't be decrypted. #160

Merged
merged 4 commits into from
Feb 22, 2023

Conversation

shibd
Copy link
Member

@shibd shibd commented Dec 29, 2022

Master Issue: apache/pulsar#3097

Motivation

Customers who can't decrypt their message must be given a chance to re-decrypt the message if redelivery is enabled.

Modifications

  • When the decrypted message fails, add to unAckedMessageTrackerPtr_ to wait for redelivery.

Verifying this change

  • Added testRedeliveryOfDecryptionFailedMessages to cover it.

Documentation

  • doc-required
    (Your PR needs to update docs and you will update later)

  • doc-not-needed
    (Please explain why)

  • doc
    (Your PR contains doc changes)

  • doc-complete
    (Docs have been already added)

@shibd shibd self-assigned this Jan 19, 2023
@shibd shibd added the bug Something isn't working label Jan 19, 2023
@shibd shibd added this to the 3.2.0 milestone Jan 19, 2023
tests/ConsumerTest.cc Outdated Show resolved Hide resolved
tests/ConsumerTest.cc Outdated Show resolved Hide resolved
tests/ConsumerTest.cc Show resolved Hide resolved
@shibd shibd requested a review from BewareMyPower February 20, 2023 02:20
@shibd shibd requested a review from RobertIndie February 22, 2023 02:35
@shibd shibd merged commit 92c182a into apache:main Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants