You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/01/30 13:16:33 UTC

[GitHub] [pulsar-client-node] massakam opened a new pull request #66: Support subscriptionInitialPosition setting

massakam opened a new pull request #66: Support subscriptionInitialPosition setting
URL: https://github.com/apache/pulsar-client-node/pull/66
 
 
   This PR allows users to specify the initial position of the subscription when creating a consumer.
   
   Usage:
   ```js
   const consumer = await client.subscribe({
     topic: 'persistent://public/default/t1',
     subscription: 'sub1',
     subscriptionInitialPosition: 'Earliest', // 'Latest' or 'Earliest'
   });
   ```
   
   fixes #60

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

[GitHub] [pulsar-client-node] nkurihar merged pull request #66: Support subscriptionInitialPosition setting

Posted by GitBox <gi...@apache.org>.
nkurihar merged pull request #66: Support subscriptionInitialPosition setting
URL: https://github.com/apache/pulsar-client-node/pull/66
 
 
   

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