RE: How to migrate single node Kafka with zookeeper to Kraft without ending up with additional Kraft controller node

2023-07-13 Thread Pengcheng Wang
Thanks David! That makes sense. I will keep an eye on the kafka release notes 
for the support of this in the future if possible.

From: David Arthur 
Date: Wednesday, July 5, 2023 at 9:16 AM
To: users@kafka.apache.org 
Subject: [EXTERNAL] Re: How to migrate single node Kafka with zookeeper to 
Kraft without ending up with additional Kraft controller node
Pengcheng,

Right now, migrating to a combined broker+controller is not supported. The
main reason for this is we don't have a way to change a KRaft broker into a
combined KRaft broker + controller. It is probably possible, and may be
supported at some point, but for now we're focusing on getting the
migration feature polished for production use cases.

Thanks!
David

On Mon, Jul 3, 2023 at 5:25 PM Pengcheng Wang
 wrote:

> Hi,
>
> We have a single node kafka and single node zookeeper, which we want to
> migrate to a single node kraft (which act as both controller and broker) so
> we can drop the zookeeper.
>
> I know we have the documentation here “
> https://kafka.apache.org/documentation/#kraft_zk_migration ” for zookeeper
> to Kraft Migration. I followed it and the migration was successful, but I
> end up with an additional kraft controller node which was provisioned for
> the migration purpose. So my question is: is there a way for us to remove
> that additional kraft controller node, so we end up with a single node
> kafka as before?
>
> I know it’s not recommended for production, but given that a single kraft
> node can act as both broker and controller, I guess this is possible?
> Thanks!
>
> Best,
> Pengcheng
>


--
-David


Re: How to migrate single node Kafka with zookeeper to Kraft without ending up with additional Kraft controller node

2023-07-05 Thread David Arthur
Pengcheng,

Right now, migrating to a combined broker+controller is not supported. The
main reason for this is we don't have a way to change a KRaft broker into a
combined KRaft broker + controller. It is probably possible, and may be
supported at some point, but for now we're focusing on getting the
migration feature polished for production use cases.

Thanks!
David

On Mon, Jul 3, 2023 at 5:25 PM Pengcheng Wang
 wrote:

> Hi,
>
> We have a single node kafka and single node zookeeper, which we want to
> migrate to a single node kraft (which act as both controller and broker) so
> we can drop the zookeeper.
>
> I know we have the documentation here “
> https://kafka.apache.org/documentation/#kraft_zk_migration” for zookeeper
> to Kraft Migration. I followed it and the migration was successful, but I
> end up with an additional kraft controller node which was provisioned for
> the migration purpose. So my question is: is there a way for us to remove
> that additional kraft controller node, so we end up with a single node
> kafka as before?
>
> I know it’s not recommended for production, but given that a single kraft
> node can act as both broker and controller, I guess this is possible?
> Thanks!
>
> Best,
> Pengcheng
>


-- 
-David