Re: [DISCUSS] Add remove-clusters command for namespace in pulsar-admin

2021-11-16 Thread Neng Lu
+1 (non-binding)

On Mon, Nov 15, 2021 at 5:50 PM PengHui Li  wrote:

> +1,
>
> Penghui
> On Nov 16, 2021, 9:27 AM +0800, Ruguo Yu , wrote:
> > Hi Community,
> >
> > The tool ` pulsar-admin` supports `set-clusters` and `get-clusters`
> command so that we can `set` / `get` replication clusters for a namespace.
> But it lacks corresponding `remove-clusters` command to restore to the
> unset state,  I think it is necessary to add this command to ensure the
> closed-loop operation of the replication cluster.
> >
> >
> >
> > I have created a issue[1] which contains possible implementation details
> for this problem, please discuss and give opinion.
> >
> >
> >
> > Thanks,
> >
> > Ruguo Yu
> >
> >
> >
> > [1] https://github.com/apache/pulsar/issues/12822
> >
> >
> >
>


Re: [DISCUSS] Add remove-clusters command for namespace in pulsar-admin

2021-11-15 Thread PengHui Li
+1,

Penghui
On Nov 16, 2021, 9:27 AM +0800, Ruguo Yu , wrote:
> Hi Community,
>
> The tool ` pulsar-admin` supports `set-clusters` and `get-clusters` command 
> so that we can `set` / `get` replication clusters for a namespace. But it 
> lacks corresponding `remove-clusters` command to restore to the unset state,  
> I think it is necessary to add this command to ensure the closed-loop 
> operation of the replication cluster.
>
>
>
> I have created a issue[1] which contains possible implementation details for 
> this problem, please discuss and give opinion.
>
>
>
> Thanks,
>
> Ruguo Yu
>
>
>
> [1] https://github.com/apache/pulsar/issues/12822
>
>
>


[DISCUSS] Add remove-clusters command for namespace in pulsar-admin

2021-11-15 Thread Ruguo Yu
Hi Community,

The tool ` pulsar-admin` supports `set-clusters` and `get-clusters` command so 
that we can `set` / `get` replication clusters for a namespace. But it lacks 
corresponding `remove-clusters` command to restore to the unset state,  I think 
it is necessary to add this command to ensure the closed-loop operation of the 
replication cluster.

 

I have created a issue[1] which contains possible implementation details for 
this problem, please discuss and give opinion.

 

Thanks,

Ruguo Yu

 

[1] https://github.com/apache/pulsar/issues/12822