pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] skyrocknroll opened a new issue #3320: unable to set unacked_messages_timeout_ms in python client
Date Mon, 07 Jan 2019 13:59:42 GMT
skyrocknroll opened a new issue #3320: unable to set unacked_messages_timeout_ms  in python
client
URL: https://github.com/apache/pulsar/issues/3320
 
 
   **Describe the bug**
   When the value is set for `unacked_messages_timeout_ms` in python consumer client then
we get 
   ```
   Traceback (most recent call last):
     File "/Users/yuvaraj.loganathan/PycharmProjects/pulsar/MyConsumer.py", line 9, in <module>
       consumer_name="Lappie", consumer_type=pulsar.ConsumerType.Failover,unacked_messages_timeout_ms=5000)
     File "/Users/yuvaraj.loganathan/PycharmProjects/pulsar/venv/lib/python3.7/site-packages/pulsar/__init__.py",
line 505, in subscribe
       conf.unacked_messages_timeout_ms(unacked_messages_timeout_ms)
   RuntimeError: unidentifiable C++ exception
   ```
   
   **To Reproduce**
   Steps to reproduce the behavior:
   ```import re
   
   import pulsar
   
   client = pulsar.Client('pulsar://10.10.58.5:6650/')
   topic = re.compile('persistent://public/support/my-topic.*')
   consumer = client.subscribe(topic=topic, subscription_name='my-subscription1234',
                               consumer_name="Lappie", consumer_type=pulsar.ConsumerType.Failover,
                               unacked_messages_timeout_ms=5000)
   ```
   
   **Expected behavior**
   The message should be redelivered after the unacked_messages_timeout_ms. 
   
   
   **Desktop (please complete the following information):**
    - OS: MAC OS High siera.
   
   
   

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