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 2020/06/23 22:29:33 UTC
[GitHub] [pulsar] merlimat commented on issue #7324: Python pulsar-client reader causes unidentifiable C++ exception
merlimat commented on issue #7324:
URL: https://github.com/apache/pulsar/issues/7324#issuecomment-648461561
The Python client is not using the C++ libpulsar, rather it's embedded in the wheel file itself.
@alphara Can you provide a simple reproducer example? Also, with the complete original logs?
For example, this is generally working fine with a connect error:
```
In [1]: import pulsar
In [2]: c = pulsar.Client('pulsar://localhost:6650')
In [3]: r = c.create_reader('my-topic', pulsar.MessageId.earliest)
2020-06-23 15:28:12.479 INFO ConnectionPool:85 | Created connection for pulsar://localhost:6650
2020-06-23 15:28:12.481 ERROR ClientConnection:380 | [<none> -> pulsar://localhost:6650] Failed to establish connection: Connection refused
2020-06-23 15:28:12.481 INFO ClientConnection:1349 | [<none> -> pulsar://localhost:6650] Connection closed
2020-06-23 15:28:12.481 ERROR ClientImpl:219 | Error Checking/Getting Partition Metadata while creating readeron persistent://public/default/my-topic -- 5
2020-06-23 15:28:12.481 INFO ClientConnection:235 | [<none> -> pulsar://localhost:6650] Destroyed connection
```
----------------------------------------------------------------
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