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

   **Describe the bug**
   
   Setting the `receiver_queue_size` kwarg to `subscribe` in the Python client 
has no effect when a partitioned topic is in use.
   
   [These docs](https://pulsar.apache.org/docs/cookbooks-message-queue/) 
indicate that this argument is not supported with partitioned topics, but 
nothing at runtime indicates an invalid argument. If this is an invalid 
configuration, then it should cause `subscribe` to throw an error.
   
   **To Reproduce**
   
   1. Run the reproduction plan for 
https://github.com/apache/pulsar/issues/15701, but replace 
`max_total_receiver_queue_size_across_partitions` in the Python snippet with 
`receiver_queue_size`. 
   2. Observe that the bug in that issue still manifests.
   
   **Expected behavior**
   - If `receiver_queue_size` does not have any effect when used with a 
partitioned topic, its presence in a `subscribe` call for a partitioned topic 
should raise an error.
   - If `receiver_queue_size` does work with partitioned topics, [these 
docs](https://pulsar.apache.org/docs/cookbooks-message-queue/) should be 
updated.
   - If `receiver_queue_size` does work with partitioned topics, its 
interaction with `max_total_receiver_queue_size_across_partitions` should be 
documented in the API reference for Pulsar client libraries.
   
   **Environment:**
   Same as the environment for 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