pulsar
pulsar copied to clipboard
[Java Client] Fix DLQ message can not send when enable poolMessages
Motivation
Fixes #13269
Modifications
When message is put into possibleSendToDeadLetterTopicMessages, do not clear it in release() since it will be used when send to DLQ later.
And clear the message when it is removed from possibleSendToDeadLetterTopicMessages
Verifying this change
This change is already covered by existing tests, such as PulsarSinkE2ETest.testPulsarSinkDLQ() just enable poolMessage for client.
Documentation
-
[x]
no-need-docOnly bug fix
The pr had no activity for 30 days, mark with Stale label.
The pr had no activity for 30 days, mark with Stale label.