You can get the cluster id from zookeeper shell as below
nchilakam@nchilakam 7.4.0-cp-demo-examples % zookeeper-shell localhost:2181
get /cluster/id Connecting to localhost:2181 WATCHER:: WatchedEvent
state:SyncConnected type:None path:null
{"version":"1","id":"_esLic79RVSuuMOrQaxJXA"}On Wed, Jul 12, 2023 at 8:47 AM Gaurav Pande <[email protected]> wrote: > Hi All, > Any help on this query please? > > Regards > GP > > On Tue, 11 Jul, 2023, 21:01 Gaurav Pande, <[email protected]> wrote: > > > Hi Guys, > > > > Iam new to Kafka I was researching a bit about finding the cluster.id > for > > a newly built 3 node zookeeper ensemble so that I can switch my Kafka > > brokers to these zookeeper > Is there a way to pre-find this cluster.id value that is used in meta > > properties by Kafka as right now it's reflecting old zookeeper cluster > I'd > > and I want to get new cluster I'd for my zk ensemble. > > > > Regards, > > GP > > >
