codelipenghui opened a new issue #6273: Deduplication fails when the batch message contains duplicate message and valid message URL: https://github.com/apache/pulsar/issues/6273 **Describe the bug** This bug was discussed in the slack channel https://apache-pulsar.slack.com/archives/C5ZSVEN4E/p1581119933163000. The problem occurs when a batch messages contain both duplicate data and valid data. If sequence ID for a message is lower than the broker maintained the highest sequence ID, the batch message which contains this message also considered a duplicate. So that will lead to valid messages can't be stored success and consumers can't get these messages. To solve this problem, the broker needs to return the current highest sequence ID to clients and then clients filter out the duplicate message and try again.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services