zbentley opened a new issue, #15704:
URL: https://github.com/apache/pulsar/issues/15704

   **Describe the bug**
   Passing `receiver_queue_size=0` to the Python client's `subscribe` method 
results in a `InvalidConfiguration` exception.
   
   However, [these 
docs](https://pulsar.apache.org/docs/cookbooks-message-queue/) indicate that a 
receiver queue size of 0 is supported.
   
   **To Reproduce**
   1. With a connected Python client, call `subscribe` on any topic with the 
`receiver_queue_size` kwarg set to `0`.
   2. Observe that an `InvalidConfiguration` error is raised.
   
   **Expected behavior**
   A value of 0 should either be supported and documented (is 0 equivalent to 
1?), or [these docs](https://pulsar.apache.org/docs/cookbooks-message-queue/) 
should be updated to reflect that the python client (if not others) do not 
support values less than 1.
   
   **Environment**
   Same as https://github.com/apache/pulsar/issues/15701
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to