poorbarcode commented on PR #24423: URL: https://github.com/apache/pulsar/pull/24423#issuecomment-2982735382
@lhotari > The channel writability is controlled with https://netty.io/4.1/api/io/netty/channel/WriteBufferWaterMark.html settings which we don't currently expose, since Pulsar hasn't been using writability for backpressure (excluding the Proxy). > For consumers, there's already a backpressure solution for outbound entries with managedLedgerMaxReadsInFlightSizeInMB. In this case, based on the test case, this is specifically about returning topic pattern listing responses. Added a motivation section to the Motivation > This fix is very meaningful for the following scenario > - thousands of topics per namespace > - thousands of regexp consumers per namespace, and they have different regexp expressions > - most consumers start at the same time, which will cause huge request of getting topics of namespaces -- 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]
