Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka, mail # user - Copy kafka data between servers?


Copy link to this message
-
Re: Copy kafka data between servers?
Neha Narkhede 2013-02-27, 17:58
Jason,

Assuming this question is for 0.7, you can just copy the data in the log
directory and restart the new broker. You don't need to copy the zookeeper
data.

Thanks,
Neha
On Feb 27, 2013 2:11 AM, "Jason Huang" <[EMAIL PROTECTED]> wrote:

> Hello,
>
> Is there a way to migrate kafka data from server A to another server B?
>
> Can I just copy the data from $log.dir in server.properties and
> zookeeper file from $dataDir in zookeeper.properties from server A to
> server B, and then run server B's kafka instance?
>
> thanks,
>
> Jason
>