jiazhai commented on issue #6162: Can't control the queue size in shared 
subscription with multiple topics
URL: https://github.com/apache/pulsar/issues/6162#issuecomment-583205111
 
 
   In cpp, it is also handled in the similar way.
   for each partitioned-topic, the Total queue size is divided by the number of 
partitions.
   ```
    // Apply total limit of receiver queue size across partitions
       config.setReceiverQueueSize(
           std::min(conf_.getReceiverQueueSize(),
                    (int)(conf_.getMaxTotalReceiverQueueSizeAcrossPartitions() 
/ partitions)));
   ```
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to