You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Doug Whitfield <dw...@perforce.com.INVALID> on 2023/04/18 15:27:25 UTC
"Recreating" Zookeeper with KRaft
Hi folks,
Is it possible to have a separate Kraft controller from the brokers? Is there any documentation on setting this up?
Thanks,
Doug Whitfield
This e-mail may contain information that is privileged or confidential. If you are not the intended recipient, please delete the e-mail and any attachments and notify us immediately.
Re: "Recreating" Zookeeper with KRaft
Posted by Divij Vaidya <di...@gmail.com>.
Hey Doug
Yes. You can choose to have nodes which act as "controllers-only" by
setting "process.roles=controller". You can find this information at
https://kafka.apache.org/documentation.html#kraft_role
--
Divij Vaidya
On Tue, Apr 18, 2023 at 5:28 PM Doug Whitfield
<dw...@perforce.com.invalid> wrote:
> Hi folks,
>
> Is it possible to have a separate Kraft controller from the brokers? Is
> there any documentation on setting this up?
>
> Thanks,
> Doug Whitfield
>
>
> This e-mail may contain information that is privileged or confidential. If
> you are not the intended recipient, please delete the e-mail and any
> attachments and notify us immediately.
>
>
Re: "Recreating" Zookeeper with KRaft
Posted by Santhosh Kumar <gr...@gmail.com>.
Yes, it is possible to have a separate Kraft controller from the brokers in
Apache Kafka. The Kraft controller is responsible for managing the overall
state of the Kafka cluster, such as managing topics, partitions, and
replica assignments.
To set up a separate Kraft controller, you will need to configure the Kafka
brokers to point to the new controller using the controller.quorum.voters
property in the broker configuration file. This property should be set to a
comma-separated list of hostname:port pairs that correspond to the Kraft
controller instances.
Additionally, you will need to configure the Kraft controller instances to
communicate with each other using the controller.quorum.type property in
the controller configuration file. This property should be set to static if
you are using a fixed set of controllers, or zookeeper if you are using
ZooKeeper for controller discovery.
There is documentation available on setting up a separate Kraft controller
in the Apache Kafka documentation. You can refer to the following resources:
- Kraft Controller Quorum
<https://kafka.apache.org/documentation/#basic_ops_controller_quorum>
- Kraft Configuration
<https://kafka.apache.org/documentation/#kraft_configuration>
On Tue, Apr 18, 2023 at 11:27 AM Doug Whitfield
<dw...@perforce.com.invalid> wrote:
> Hi folks,
>
> Is it possible to have a separate Kraft controller from the brokers? Is
> there any documentation on setting this up?
>
> Thanks,
> Doug Whitfield
>
>
> This e-mail may contain information that is privileged or confidential. If
> you are not the intended recipient, please delete the e-mail and any
> attachments and notify us immediately.
>
>
Re: "Recreating" Zookeeper with KRaft
Posted by in...@greenbox-environmental.com.INVALID.
On 2023-04-19 03:53, Fabio Pardi wrote:
>> Is it possible to have a separate Kraft controller from the brokers?
>> Is there any documentation on setting this up?
>>
>>
>
> Hi,
>
> you should be able to achieve such setup running kafka in 'controller'
> mode.
>
> https://kafka.apache.org/documentation/#brokerconfigs_process.roles
>
>
> regards,
>
> fabio pardi
> Agileos Consulting
Hi,
New information, setup running kafka in 'controller' mode.
Thanks,
Re: "Recreating" Zookeeper with KRaft
Posted by Fabio Pardi <f....@agileosconsulting.com>.
> Is it possible to have a separate Kraft controller from the brokers? Is there any documentation on setting this up?
>
>
Hi,
you should be able to achieve such setup running kafka in 'controller' mode.
https://kafka.apache.org/documentation/#brokerconfigs_process.roles
regards,
fabio pardi
Agileos Consulting