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/02/25 14:33:03 UTC
[GitHub] matansh commented on issue #3681: Via the python client I am unable
to consume messages with a multi-topic regex consumer
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