You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by guo jiwei <te...@apache.org> on 2023/08/15 08:23:55 UTC

[VOTE] PIP-293: Delete config `disableBrokerInterceptors`

Hi dev,
   There is a config in ServiceConfiguration called
`disableBrokerInterceptors` introduced by #8157
<https://github.com/apache/pulsar/pull/8157>, it looks to disable the
broker interceptor, but commented for using test only.  In actual, we judge
whether enable the interceptor by judging whether the broker is loaded into
the interceptors.Then in #10489
<https://github.com/apache/pulsar/pull/10489>, it kept the same
implementation.
   But #20422 <https://github.com/apache/pulsar/pull/20422> has changed the
behavior,  it judges whether enable the interceptor by
`disableBrokerInterceptors` and then it caused an NPE issue mentioned in
#20710 <https://github.com/apache/pulsar/pull/20710>.
  This config has a little confusing, so we decide to delete it.

  PIP: https://github.com/apache/pulsar/pull/20993



Regards
Jiwei Guo (Tboy)

Re: [VOTE] PIP-293: Delete config `disableBrokerInterceptors`

Posted by guo jiwei <te...@apache.org>.
Thanks.
Close the vote with  3(binding) + 1(non-binding).


Regards
Jiwei Guo (Tboy)


On Mon, Aug 21, 2023 at 9:32 AM Hang Chen <ch...@apache.org> wrote:

> +1 (binding)
>
> Thanks,
> Hang
>
> <ma...@gmail.com> 于2023年8月18日周五 06:33写道:
> >
> > +1 (binding)
> >
> >
> > Best,
> > Mattison
> > On 15 Aug 2023 at 16:24 +0800, guo jiwei <te...@apache.org>, wrote:
> > > Hi dev,
> > > There is a config in ServiceConfiguration called
> > > `disableBrokerInterceptors` introduced by #8157
> > > <https://github.com/apache/pulsar/pull/8157>, it looks to disable the
> > > broker interceptor, but commented for using test only. In actual, we
> judge
> > > whether enable the interceptor by judging whether the broker is loaded
> into
> > > the interceptors.Then in #10489
> > > <https://github.com/apache/pulsar/pull/10489>, it kept the same
> > > implementation.
> > > But #20422 <https://github.com/apache/pulsar/pull/20422> has changed
> the
> > > behavior, it judges whether enable the interceptor by
> > > `disableBrokerInterceptors` and then it caused an NPE issue mentioned
> in
> > > #20710 <https://github.com/apache/pulsar/pull/20710>.
> > > This config has a little confusing, so we decide to delete it.
> > >
> > > PIP: https://github.com/apache/pulsar/pull/20993
> > >
> > >
> > >
> > > Regards
> > > Jiwei Guo (Tboy)
>

Re: [VOTE] PIP-293: Delete config `disableBrokerInterceptors`

Posted by Hang Chen <ch...@apache.org>.
+1 (binding)

Thanks,
Hang

<ma...@gmail.com> 于2023年8月18日周五 06:33写道:
>
> +1 (binding)
>
>
> Best,
> Mattison
> On 15 Aug 2023 at 16:24 +0800, guo jiwei <te...@apache.org>, wrote:
> > Hi dev,
> > There is a config in ServiceConfiguration called
> > `disableBrokerInterceptors` introduced by #8157
> > <https://github.com/apache/pulsar/pull/8157>, it looks to disable the
> > broker interceptor, but commented for using test only. In actual, we judge
> > whether enable the interceptor by judging whether the broker is loaded into
> > the interceptors.Then in #10489
> > <https://github.com/apache/pulsar/pull/10489>, it kept the same
> > implementation.
> > But #20422 <https://github.com/apache/pulsar/pull/20422> has changed the
> > behavior, it judges whether enable the interceptor by
> > `disableBrokerInterceptors` and then it caused an NPE issue mentioned in
> > #20710 <https://github.com/apache/pulsar/pull/20710>.
> > This config has a little confusing, so we decide to delete it.
> >
> > PIP: https://github.com/apache/pulsar/pull/20993
> >
> >
> >
> > Regards
> > Jiwei Guo (Tboy)

Re: [VOTE] PIP-293: Delete config `disableBrokerInterceptors`

Posted by ma...@gmail.com.
+1 (binding)


Best,
Mattison
On 15 Aug 2023 at 16:24 +0800, guo jiwei <te...@apache.org>, wrote:
> Hi dev,
> There is a config in ServiceConfiguration called
> `disableBrokerInterceptors` introduced by #8157
> <https://github.com/apache/pulsar/pull/8157>, it looks to disable the
> broker interceptor, but commented for using test only. In actual, we judge
> whether enable the interceptor by judging whether the broker is loaded into
> the interceptors.Then in #10489
> <https://github.com/apache/pulsar/pull/10489>, it kept the same
> implementation.
> But #20422 <https://github.com/apache/pulsar/pull/20422> has changed the
> behavior, it judges whether enable the interceptor by
> `disableBrokerInterceptors` and then it caused an NPE issue mentioned in
> #20710 <https://github.com/apache/pulsar/pull/20710>.
> This config has a little confusing, so we decide to delete it.
>
> PIP: https://github.com/apache/pulsar/pull/20993
>
>
>
> Regards
> Jiwei Guo (Tboy)

Re: [VOTE] PIP-293: Delete config `disableBrokerInterceptors`

Posted by PengHui Li <pe...@apache.org>.
+1 (binding)

Thanks,
Penghui

On Wed, Aug 16, 2023 at 4:40 PM Zixuan Liu <no...@gmail.com> wrote:

> +1(non-binding)
>
> Thanks,
> Zixuan
>
> guo jiwei <te...@apache.org> 于2023年8月15日周二 16:24写道:
> >
> > Hi dev,
> >    There is a config in ServiceConfiguration called
> > `disableBrokerInterceptors` introduced by #8157
> > <https://github.com/apache/pulsar/pull/8157>, it looks to disable the
> > broker interceptor, but commented for using test only.  In actual, we
> judge
> > whether enable the interceptor by judging whether the broker is loaded
> into
> > the interceptors.Then in #10489
> > <https://github.com/apache/pulsar/pull/10489>, it kept the same
> > implementation.
> >    But #20422 <https://github.com/apache/pulsar/pull/20422> has changed
> the
> > behavior,  it judges whether enable the interceptor by
> > `disableBrokerInterceptors` and then it caused an NPE issue mentioned in
> > #20710 <https://github.com/apache/pulsar/pull/20710>.
> >   This config has a little confusing, so we decide to delete it.
> >
> >   PIP: https://github.com/apache/pulsar/pull/20993
> >
> >
> >
> > Regards
> > Jiwei Guo (Tboy)
>

Re: [VOTE] PIP-293: Delete config `disableBrokerInterceptors`

Posted by Zixuan Liu <no...@gmail.com>.
+1(non-binding)

Thanks,
Zixuan

guo jiwei <te...@apache.org> 于2023年8月15日周二 16:24写道:
>
> Hi dev,
>    There is a config in ServiceConfiguration called
> `disableBrokerInterceptors` introduced by #8157
> <https://github.com/apache/pulsar/pull/8157>, it looks to disable the
> broker interceptor, but commented for using test only.  In actual, we judge
> whether enable the interceptor by judging whether the broker is loaded into
> the interceptors.Then in #10489
> <https://github.com/apache/pulsar/pull/10489>, it kept the same
> implementation.
>    But #20422 <https://github.com/apache/pulsar/pull/20422> has changed the
> behavior,  it judges whether enable the interceptor by
> `disableBrokerInterceptors` and then it caused an NPE issue mentioned in
> #20710 <https://github.com/apache/pulsar/pull/20710>.
>   This config has a little confusing, so we decide to delete it.
>
>   PIP: https://github.com/apache/pulsar/pull/20993
>
>
>
> Regards
> Jiwei Guo (Tboy)