thanks Mayuresh and Jiangjie for your response.

I have actually not understood Mirror maker clearly and hence bit skeptical
if i will be able to execute it effectively.

Online i hv seen the following command to be execute, but not understood
 what is consumer-1 & -2.properties here? do i need to copy from my
consumer code? also, any reason why to provide consumer property?

bin/kafka-run-class.sh kafka.tools.MirrorMaker --consumer.config
consumer-1.properties --consumer.config consumer-2.properties
--producer.config producer.properties --whitelist my-topic


Regards,
Nitin Kumar Sharma.


On Wed, Mar 25, 2015 at 8:57 PM, Mayuresh Gharat <gharatmayures...@gmail.com
> wrote:

> You can use the Mirror maker to move data from one data center to other and
> once all the data has been moved you can shut down the source data center
> by doing a controlled shutdown.
>
> Thanks,
>
> Mayuresh
>
> On Wed, Mar 25, 2015 at 2:35 PM, Jiangjie Qin <j...@linkedin.com.invalid>
> wrote:
>
> > If you want to do a seamless migration. I think a better way is to build
> a
> > cross datacenter Kafka cluster temporarily. So the process is:
> > 1. Add several new Kafka brokers in your new datacenter and add them to
> > the old cluster.
> > 2. Use replica assignment tool to reassign all the partitions to brokers
> > in new datacenter.
> > 3. Perform controlled shutdown on the brokers in old datacenter.
> >
> > Jiangjie (Becket) Qin
> >
> > On 3/25/15, 2:01 PM, "nitin sharma" <kumarsharma.ni...@gmail.com> wrote:
> >
> > >Hi Team,
> > >
> > >in my project, we have built a new datacenter for Kafka brokers and
> wants
> > >to migrate from current datacenter to new one.
> > >
> > >Switching producers and consumers wont be a problem provided New
> > >Datacenter
> > >has all the messages of existing Datacenter.
> > >
> > >
> > >i have only 1 topic with 2 partition that need to be migrated... that
> too
> > >it is only 1 time activity.
> > >
> > >Kindly suggest the best way to deal with this situation.
> > >
> > >
> > >Regards,
> > >Nitin Kumar Sharma.
> >
> >
>
>
> --
> -Regards,
> Mayuresh R. Gharat
> (862) 250-7125
>

Reply via email to