poorbarcode commented on PR #18877:
URL: https://github.com/apache/pulsar/pull/18877#issuecomment-1356223408

   Hi @gaoran10 
   
   > Maybe we can consider adding a property in message metadata to indicate 
the last valid message index, I'm afraid checking single metadata will cost too 
many resources if there are many messages in a batch.
   
   Good suggestion.
   
   I will fix it in another PR. To avoid modifying the definition of message 
metadata, I chose a different solution to improve the performance of extracting 
batched messages. see:
   - https://github.com/poorbarcode/pulsar/pull/50
   
   After the current PR is merged, I will push the PR above to the apache 
repository.


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