You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/02/23 14:25:31 UTC

[GitHub] [pulsar] mattisonchao commented on a change in pull request #14400: [PIP-74] Dependency of consumer client memory limit: support dynamic limit of consumer receiver queue

mattisonchao commented on a change in pull request #14400:
URL: https://github.com/apache/pulsar/pull/14400#discussion_r812931477



##########
File path: pulsar-client/src/main/java/org/apache/pulsar/client/impl/ConsumerBase.java
##########
@@ -119,6 +122,7 @@ protected ConsumerBase(PulsarClientImpl client, String topic, ConsumerConfigurat
         this.pendingBatchReceives = Queues.newConcurrentLinkedQueue();
         this.schema = schema;
         this.interceptors = interceptors;
+        MAX_RECEIVER_QUEUE_SIZE_UPDATER.set(this, receiverQueueSize);

Review comment:
       Should we remove line:108?




-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org