keyboardbobo commented on issue #13523:
URL: https://github.com/apache/pulsar/issues/13523#issuecomment-1004558859


   ```
           ProducerBuilder builder = client.newProducer(Schema.STRING)
                   .topic("persistent://...")
                   .sendTimeout(120, TimeUnit.SECONDS)
                   .compressionType(CompressionType.LZ4)
                   .enableBatching(true)
                   .batchingMaxPublishDelay(10, TimeUnit.MILLISECONDS)
                   .batchingMaxMessages(1000)
                   .blockIfQueueFull(true);
   ```
   @gaozhangmin The client configuration is as above, and the memoryLimitBytes 
parameter is not set. The main problem now is that a single broker has a 
problem, which will cause the traffic of other brokers to also drop. It is not 
that I want to limit the client memory or queue size.


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