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/09/23 15:54:41 UTC

[GitHub] [pulsar-client-node] savearray2 commented on pull request #125: Adds Pattern/RegEx Support to Consumer

savearray2 commented on pull request #125:
URL: https://github.com/apache/pulsar-client-node/pull/125#issuecomment-697586887


   This may not be the best design for this feature, so please let me know your comments.
   
   Currently the API is set up in the following way:
   
   ```js
   const consumer = await client.subscribe({
     topic: 'persistent://public/default/produce-abc[a-z]ef',
     subscriptionMode: 'Pattern',
     subscription: 'sub',
     subscriptionType: 'Shared',
   });
   ````


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