candlerb opened a new issue #5365: python API missing `is_read_compacted` in 
   **Describe the bug**
   The python API has `is_read_compacted` in the Consumer API, but not in the 
Reader API.
   I think this may be an accidental omission.  I checked the Java API docs, 
both ConsumerBuilder and ReaderBuilder have 
   Similarly, the C++ API has 
   **To Reproduce**
   import pulsar
   client = pulsar.Client('pulsar://localhost:6650')
   msg_id = pulsar.MessageId.earliest
   reader = client.create_reader('my-topic', msg_id, is_read_compacted=True)
   while True:
       msg = reader.read_next()
       print("Received message %r id=%s" % (, msg.message_id()))
   Gives `TypeError: create_reader() got an unexpected keyword argument 
   **Expected behavior**
   To work the same as the consumer API.  The following works:
   consumer = client.subscribe('my-topic', 'my-subscription', 
   **Desktop (please complete the following information):**
    - OS: Ubuntu 18.04, Pulsar 2.4.1, python 3.6.8, and pulsar-client==2.4.1

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:

With regards,
Apache Git Services

Reply via email to