You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/04/05 16:16:57 UTC

[GitHub] [pulsar] lovelle opened a new pull request #3988: [issue #3975] Bugfix NPE on non durable consumer

lovelle opened a new pull request #3988: [issue #3975] Bugfix NPE on non durable consumer
URL: https://github.com/apache/pulsar/pull/3988
 
 
   **Motivation**
   
   Trying to fix #3975
   
   When a reset of a cursor is performed with some timestamp on a non-durable
   consumer the message finder will fail with null pointer exception due to
   `cursor.getName()` being null.
   
   **Modifications**
   
     - Add method overloading for `newNonDurableCursor()` with subscription name.
     - Fix method getNonDurableSubscription to call `newNonDurableCursor()` with
       proper subscription name
     - Add test to assert issue.
   
   ### Verifying this change
   
   - [ ] Make sure that the change passes the CI checks.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services