Re: [DISCUSS] PIP-258: Deprecation of the consumer subscribeTopicMode configuration

2023-03-16 Thread Baodi Shi
Hi, Any ideas please discuss, thanks. Thanks, Baodi Shi 在 2023年3月13日 22:24:09 上,Baodi Shi 写道: > Hi all, > > I've started a PIP to discuss: PIP-258: Deprecation of the consumer > subscribeTopicMode configuration > > ### Motivation > > About pattern subscribes of consumers, the `topicsPattern` a

Re: [Question] [java client] CPU-intensive code on io threads

2023-03-16 Thread Matteo Merli
Adding that executor will introduce 2 additional context switches which would impact the performance. > will do decompression of the payload on > the netty thread, which is a bad practice in my understanding. I would not categorize this as an anti-pattern: io-threads are there to do io work, and

[Question] [java client] CPU-intensive code on io threads

2023-03-16 Thread Andrey Yegorov
Hi, While looking through the code/thread dumps I noticed that decompression of compressed payload happens on pulsar-client-io threads Specifically: https://github.com/apache/pulsar/blob/80c5791b87482bee3392308ecef45f455f8de885/pulsar-client/src/main/java/org/apache/pulsar/client/impl/ClientCnx.ja

Re: [DISCUSS] PIP-255: Assign topic partitions to bundle by round robin

2023-03-16 Thread Heesung Sohn
Hi, Thank you for sharing this. In general, I think this can be another good option for Pulsar load assignment logic. However, I have some comments below. > The load managed by each Bundle is not even. Even if the number of partitions managed by each bundle is the same, there is no guarantee t

Re: [Discuss] PIP-256: Building Great Developer Experience with API Content

2023-03-16 Thread Yu
Hi Asaf, thanks for your questions! Please see my response below. > 1. What are the exact problems we have? As stated in the Motivation, there were several issues in previous docs (2.11.x and earlier versions). The biggest one was " many contents are missing"

Re: [DISCUSS] PIP-259: Make the config httpMaxRequestHeaderSize of the pulsar web server to configurable

2023-03-16 Thread 丛搏
hi yubiao : I have a question, why we need `httpClientRequestBufferSize ` in proxy, can you explain in detail? Thanks, Bo Yubiao Feng 于2023年3月16日周四 00:11写道: > > Hi community > > I am starting a DISCUSS for "PIP-259: Make the config > httpMaxRequestHeaderSize of the pulsar web server configurab

New Pulsar docs (API + CLI) are available!

2023-03-16 Thread Yu
Hi community, To improve the developer experience and take Pulsar content to the next level, recently we (+@hangc0276) have added some new docs as below. === Fresh New Content === - Pulsar API (https://pulsar.apache.org/docs/next/pulsar-api-overview/) - Pulsar admin API

Re: Release 2.11.1

2023-03-16 Thread guo jiwei
Thanks, I will start the release process soon. Regards Jiwei Guo (Tboy) On Thu, Mar 16, 2023 at 5:48 PM Zike Yang wrote: > > +1 > > Thanks, > Zike Yang > > On Wed, Mar 15, 2023 at 7:45 PM wrote: > > > > +1, > > Thanks for your work! > > > > Best, > > Mattison > > On Mar 15, 2023, 15:24 +0800,

Re: Release 2.11.1

2023-03-16 Thread Zike Yang
+1 Thanks, Zike Yang On Wed, Mar 15, 2023 at 7:45 PM wrote: > > +1, > Thanks for your work! > > Best, > Mattison > On Mar 15, 2023, 15:24 +0800, PengHui Li , wrote: > > +1 > > > > Just a reminder, this one [0] might be a blocker for the subsequent patch > > releases since it has introduced a new

Re: [DISCUSS] Change PIP template

2023-03-16 Thread Asaf Mesika
Here's the PR to remove the form and add a new issue template in Markdown containing the suggested structure and description for each section. https://github.com/apache/pulsar/pull/19832 On Wed, Mar 1, 2023 at 3:43 PM Elliot West wrote: > +1 Asaf > > I'd also suggest that we encourage the subm