Re: How to get Kafka cluster.id priperty

2023-07-13 Thread Gaurav Pande
Thanks Nag.

On Thu, 13 Jul, 2023, 09:54 Nag Pavan Chilakam,
 wrote:

> kafka commands are available in confluent developer pages
> https://docs.confluent.io/kafka/operations-tools/kafka-tools.html#
> For ZK commands you may have to refer to zookeeper docs.
> btw try kraft mode, so you don't need to be worried about zookeeper :)
>
> On Wed, Jul 12, 2023 at 11:18 AM Gaurav Pande 
> wrote:
>
> > Thanks on below info is there some set of these xli commands documented
> > somewhere? If so could you share the link
> > Regards,
> > GP
> >
> > On Wed, 12 Jul, 2023, 10:53 Nag Pavan Chilakam,
> >  wrote:
> >
> > > 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 
> > wrote:
> > >
> > > > Hi All,
> > > > Any help on this query please?
> > > >
> > > > Regards
> > > > GP
> > > >
> > > > On Tue, 11 Jul, 2023, 21:01 Gaurav Pande, 
> > 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
> > > > >
> > > >
> > >
> >
>


Re: How to get Kafka cluster.id priperty

2023-07-12 Thread Nag Pavan Chilakam
kafka commands are available in confluent developer pages
https://docs.confluent.io/kafka/operations-tools/kafka-tools.html#
For ZK commands you may have to refer to zookeeper docs.
btw try kraft mode, so you don't need to be worried about zookeeper :)

On Wed, Jul 12, 2023 at 11:18 AM Gaurav Pande  wrote:

> Thanks on below info is there some set of these xli commands documented
> somewhere? If so could you share the link
> Regards,
> GP
>
> On Wed, 12 Jul, 2023, 10:53 Nag Pavan Chilakam,
>  wrote:
>
> > 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 
> wrote:
> >
> > > Hi All,
> > > Any help on this query please?
> > >
> > > Regards
> > > GP
> > >
> > > On Tue, 11 Jul, 2023, 21:01 Gaurav Pande, 
> 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
> > > >
> > >
> >
>


Re: How to get Kafka cluster.id priperty

2023-07-11 Thread Gaurav Pande
Thanks on below info is there some set of these xli commands documented
somewhere? If so could you share the link
Regards,
GP

On Wed, 12 Jul, 2023, 10:53 Nag Pavan Chilakam,
 wrote:

> 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  wrote:
>
> > Hi All,
> > Any help on this query please?
> >
> > Regards
> > GP
> >
> > On Tue, 11 Jul, 2023, 21:01 Gaurav Pande,  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
> > >
> >
>


Re: How to get Kafka cluster.id priperty

2023-07-11 Thread Nag Pavan Chilakam
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  wrote:

> Hi All,
> Any help on this query please?
>
> Regards
> GP
>
> On Tue, 11 Jul, 2023, 21:01 Gaurav Pande,  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
> >
>


Re: How to get Kafka cluster.id priperty

2023-07-11 Thread Gaurav Pande
Hi All,
Any help on this query please?

Regards
GP

On Tue, 11 Jul, 2023, 21:01 Gaurav Pande,  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
>


How to get Kafka cluster.id priperty

2023-07-11 Thread Gaurav Pande
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