Dear Team Members


Currently we are using Kafka 0.10.1, Zookeeper 3.4.5 versions, we are planning 
to upgrade to Kafka 2.2.0 version.

We have 3 node Kafka cluster(3 Zookeeper nodes , 3 Kafka nodes)



As suggested by you, Can I follow these steps



  1.

First, I have to download, new Kafka 2.1.0 tar file, and untar that file.

In config directory server.properties

I have to add the below new two parameters

inter.broker.protocol.version=0.10.1

log.message.format.version=0.10.1



  1.  After that stop old Kafka broker version(0.10.1) and then start new Kafka 
broker (2.2.0) in one node.

During this 1st node running with latest version and remaining two nodes are 
running with old version.



And then stop old Kafka in second node, and then start new Kafka broker (2.2.0) 
node,



Same thing we have to do it remaining third.



Now all three Kafka nodes are running with new version 2.2.0



  1.  After that in server.proeprties we have to add update the below parameter

inter.broker.protocol.version=2.2.0



same thing we have to do it remaining nodes



now we have to do rolling restart in all three nodes.





Now all three nodes are upgrading to new version ??????



  1.  What I’m set for below parameter, right now we are not set this parameter 
into server.properties.

Can I add this parameter ???



ssl.endpoint.identification.algorithm



what is value should I mention for that above parameter????????




Please tell me if anything can I miss or else  any extra steps are required.



Please suggest us







Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10



________________________________
From: SenthilKumar K <senthilec...@gmail.com>
Sent: Friday, April 26, 2019 7:49:33 PM
To: users@kafka.apache.org
Cc: Senthil kumar
Subject: Re: Required guidelines for kafka upgrade

Answers inline.

first what we upgrade zookeeper or kafka??
 - I can't really comment about ZK upgrade. Recently i upgraded only 10
node Kafka Cluster in production.
   Some of the Key Notes :
    1) You need to set inter.broker.protocol.version = 1.1.0( Your Current
Broker Version )
  2) Start upgrading your brokers one by one & Verify the overall
functionality of your Cluster . Do not forget to verify the Clients too.
    3) After Completing upgrade , set the version to 2.2.0 if you are
upgrading latest version & restart brokers one by one. Pls be aware you
cant downgrade after this step.
     4) Pls keep in mind : The default value for
ssl.endpoint.identification.algorithm
was changed to https.
    So you need to set ssl.endpoint.identification.algorithm = empty to
make it work as previous version of broker.

Go through the documentation and you will more information (1.5 Upgrading
>From Previous Versions) https://kafka.apache.org/documentation/#upgrade .
being upgrade can we pointing old logs directory??
Not sure if i understand this question. In general , you dont need to
change any Kafka Logs directory for broker upgrade.

--Senthil

On Fri, Apr 26, 2019 at 6:28 PM M. Manna <manme...@gmail.com> wrote:

> Ashok,
>
> The guideline is well-explained, so please follow that.
>
> https://kafka.apache.org/documentation/#upgrade
>
> The process works, so try and follow what it recommends.
>
> Thanks,
>
> On Fri, 26 Apr 2019 at 12:36, ASHOK MACHERLA <iash...@outlook.com> wrote:
>
> > Dear senthil
> >
> > That I know,
> > Could you please explain in details,
> > any documents, step by steps required.
> >
> > first what we upgrade zookeeper or kafka??
> > being upgrade can we pointing old logs directory??
> >
> > Could please explain like that.
> >
> > Sent from Outlook<http://aka.ms/weboutlook>
> > ________________________________
> > From: SenthilKumar K <senthilec...@gmail.com>
> > Sent: 26 April 2019 16:03
> > To: users@kafka.apache.org
> > Subject: Re: Required guidelines for kafka upgrade
> >
> > Hi , You can refer official documentation to upgrade Kafka Cluster .
> > Section:
> > 1.5 Upgrading From Previous Versions
> >
> > Last week we did broker upgrade from 1.1.0 to 2.2.0. I think the current
> > stable version is 2.2.0.
> >
> > --Senthil
> >
> > On Fri, Apr 26, 2019, 3:54 PM ASHOK MACHERLA <iash...@outlook.com>
> wrote:
> >
> > > Dear Team
> > >
> > > Right now, we are using Kafka 0.10.1 version, zookeeper 3.4.6 version,
> we
> > > are planning to upgrade to New Kafka & Zookeeper version.
> > >
> > > Please suggest us, what is current stable version of Kafka,
> Zookeeper???
> > >
> > > Could you please explain what is steps to upgrade to Kafka, Zookeeper??
> > >
> > > Is there any documentation for that upgrade guide??
> > >
> > > Thanks a lot!!
> > >
> > >
> > > Sent from Outlook<http://aka.ms/weboutlook>
> > >
> >
>

Reply via email to