pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [pulsar] lovelle opened a new pull request #3988: [issue #3975] Bugfix NPE on non durable consumer
Date Fri, 05 Apr 2019 16:16:57 GMT
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

Mime
View raw message