Thanks for the KIP, Hailey.  It will be nice to provide some
fine-grained control for when people running the broker and controller
this way want to stop just one of them.

One thing that occurs to me is that in a development environment
someone might want to run multiple controllers and multiple brokers
all on the same box, and in that case they might want to actually stop
just one controller or just one broker instead of all of them.  So I'm
wondering if maybe instead of supporting kafka-server-stop
[--process.roles <value>] we might want to instead support
kafka-server-stop [--required-config <name=value>].  If someone wanted
to stop any/all controllers and not touch the broker(s) they could
still achieve that by invoking kafka-server-stop --required-config
process.roles=controller.  But if they did want to stop a particular
controller they could then also achieve that via kafka-server-stop
--required-config node.id=1 (for example).  What do you think?

Ron

On Thu, Sep 14, 2023 at 5:56 PM Hailey Ni <h...@confluent.io.invalid> wrote:
>
> Hi all,
>
> I would like to start the discussion about *KIP-979: Allow independently
> stop KRaft controllers or brokers* <
> https://cwiki.apache.org/confluence/display/KAFKA/KIP-979%3A+Allow+independently+stop+KRaft+controllers+or+brokers
> >
> It proposes adding an optional field "--process.roles <value>" in the
> script to allow users to independently stop either KRaft broker processes
> or controller processes. While in the past, all processes were killed using
> a single script.
> Please let me know if you have any questions or comments. Much appreciated.
>
> Thanks & Regards,
> Hailey

Reply via email to