lordcheng10 opened a new pull request, #16392:
URL: https://github.com/apache/pulsar/pull/16392

   ### Motivation
   An npe exception was found in the exception log:
   <img width="1460" alt="image" 
src="https://user-images.githubusercontent.com/19296967/177259582-474750fb-ebbc-45de-afa6-e2e8c70726d0.png";>
   
   By analyzing the code, it is found that in the filterEntriesForConsumer 
method, some entries may have been released, resulting in entry.getDataBuffer() 
is null. So we need to skip these entries.
   
   
   ### Documentation
   
   Check the box below or label this PR directly.
   
   Need to update docs? 
   
   - [ ] `doc-required` 
   (Your PR needs to update docs and you will update later)
     
   - [x] `doc-not-needed` 
   (Please explain why)
     
   - [ ] `doc` 
   (Your PR contains doc changes)
   
   - [ ] `doc-complete`
   (Docs have been already added)


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