apache / pulsar-client-python

Apache Pulsar Python client library
https://pulsar.apache.org/
Apache License 2.0
51 stars 40 forks source link

Issue #37 : Allow passing pulsar.MessageId instance to create_reader() #95

Closed erichare closed 1 year ago

erichare commented 1 year ago

This does a simple check to see whether the object passed to create_reader() is a Python MessageId object - if so, it accesses the _pulsar.MessageId object that's a property before proceeding with the relevant checks and routine.