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/12 03:22:24 UTC

[GitHub] [pulsar] lovelle opened a new pull request #4031: Feature - support seek() on Reader

lovelle opened a new pull request #4031: Feature - support seek() on Reader
URL: https://github.com/apache/pulsar/pull/4031
 
 
   **Motivation**
   
   Trying to fix #3976
   
   According to what was discussed in pull #3983 it would be an acceptable solution
   to add seek() command to Reader in order to reset a non durable cursor after
   Reader instance was build.
   
   **Modifications**
   
     - Copy seek() commands to Reader interface from Consumer interface.
     - Fix inconsistency with lastDequeuedMessage field after seek() command was
       performed successfully.
     - Fix consumer discarding messages on receive (after seek() command) due to
       messages being present on acknowledge grouping tacker.
     - Add functional test to assert behaviour from seek() on Reader.
   
   ### 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