pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] matansh commented on issue #3681: Via the python client I am unable to consume messages with a multi-topic regex consumer
Date Mon, 25 Feb 2019 14:33:03 GMT
matansh commented on issue #3681: Via the python client I am unable to consume messages with
a multi-topic regex consumer
URL: https://github.com/apache/pulsar/issues/3681#issuecomment-467032862
 
 
   update: 
   just found a workaround!
   if i change my code to contain the full topic path it works.
   ```python
   consumer = pulsar_client.subscribe(re.compile('persistent://public/default/test_.*'), 'sub1')
   producer = pulsar_client.create_producer('persistent://public/default/test_1')
   ```
   
   I guess the doc's should at least reflect this, or even better fixing the "shorter" syntax

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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