yapxue opened a new issue, #17061:
URL: https://github.com/apache/pulsar/issues/17061

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) 
and found nothing similar.
   
   
   ### Motivation
   
   In pulsar function EFFECTIVELY_ONCE semantic, producer attach a sequenceId 
to output topic for deduplication, the sequenceId consists of ledgerId and 
entryId. But for batched messages, the share the same entryId so they have same 
sequenceId, others will become duplicated and dropped, this may cause data loss.
   
   ### Solution
   
   maybe put batchIndex in sequenceId
   
   ### Alternatives
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] I'm willing to submit a PR!


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to