Hi Enrico I think it's a good question. We can introduce a new method in the BrokerService to help brokers create the topic internally first(maybe just metadata is enough), and then to use pulsar client connect to it.
WDYT? Best, Mattison On Feb 16, 2023, 00:01 +0800, Enrico Olivelli <eolive...@gmail.com>, wrote: > I have one question (apologies for the top posting). > > The Broker (and the other Pulsar components) use the regular Pulsar > client to connect to "system topics" > and in general they use the Pulsar wire protocol. > > The question is "how do you distinguish an internal component from a > user component ?" > How can you say that the broker is able to connect to a system topic > and any other client cannot do it ? > > Enrico > > Il giorno mer 15 feb 2023 alle ore 15:38 <mattisonc...@gmail.com> ha scritto: > > > > Hi Asaf > > > > There is a link to introduce the dynamic configuration. > > https://pulsar.apache.org/docs/2.10.x/admin-api-brokers/#dynamic-broker-configuration > > > > Best, > > Mattison > > On Feb 14, 2023, 17:06 +0800, Asaf Mesika <asaf.mes...@gmail.com>, wrote: > > > > On Tue, Feb 14, 2023 at 3:46 AM <mattisonc...@gmail.com> wrote: > > > > > > > > > > Hi, Asaf > > > > > > > > > > > > Welcome to join this discussion. > > > > > > > > > > You mean that allows the *system* to use it when it's a > > > > > > > > > > partitioned > > > > > > topic? > > > > > > Sorry, I didn't get your point. What do you mean by *system*? > > > > > > > > > > > > > > This sentence was a reply to: > > > > > > > > 2. Make the `-partition-` string the keyword. That allows the user to > > > > use > > > > > > it when it's a partitioned topic. > > > > > > > > > > > > > > I wanted to say that this sentence should be: > > > > Make the `-partition-` string the keyword, that allows the *system* to > > > > use > > > > it when it's a partitioned topic. > > > > > > > > > > > > > > > > > > > > > > Why postfix of `__`?Why uppercase ?Maybe `__system__<name>`? > > > > > > Yes, That is a key point that I want to discuss in this > > > > > > thread. `__system__<name>` is good for me. > > > > > > > > > > Can you please elaborate what it means to make it dynamic > > > > > > > > > > exactly? > > > > > > Sorry, I will refine it. it means we can update this configuration > > > > > > dynamically. (using rest api or sth) > > > > > > > > > > > > > > I'm unfamiliar with how Pulsar supports dynamic configuration. I would > > > > love it if you can share a link or explain it briefly, thus explaining > > > > what > > > > exactly you are going to change to support dynamic configuration. > > > > > > > > > > General question: In the last thread you said something about > > > > > > configurablerules, etc? You decided not to use this idea? > > > > > > IMO, That idea is an advanced feature. we may need more time to > > > > > > discuss > > > > > > the details and for the topic name restriction, maybe we don't have > > > > > > strong > > > > > > reason to use that. > > > > > > > > > > > > We can introduce this advanced feature when we have a need for it. > > > > > > > > > > > > WDYT? > > > > > > > > > > > > > > I agree. Future PIP and discussion. > > > > > > > > > > > > > > > > > > > > Best, > > > > > > Mattison > > > > > > On Feb 13, 2023, 22:21 +0800, Asaf Mesika <asaf.mes...@gmail.com>, > > > > > > wrote: > > > > > > > > > > You mean that allows the *system* to use it when it's a > > > > > > > > > > partitioned > > > > > > topic? > > > > > >