#### Expected behavior
MessageId object serialize method is broken at least in python 3.7 

    pulsar.MessageId.latest.serialize()

Should return a string

#### Actual behavior

    >>> pulsar.MessageId.earliest.serialize()
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 1: 
invalid start byte

#### Steps to reproduce

As above

#### System configuration
pulsar-client 2.1.0 and Python 3.7


[ Full content available at: https://github.com/apache/pulsar/issues/2708 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to