Re: Migrate a topic which has no brokers

2016-01-06 Thread Gwen Shapira
Hey, You can modify a broker ID by taking it down, changing the id configuration in the properties file and starting it. Note that the broker will lose its existing partitions and take the partitions of the broker it is replacing (i.e. a broker can't have two identities at the same time), so you c

Re: Migrate a topic which has no brokers

2016-01-06 Thread Ben Davison
Hi Gwen, Thanks for the suggestion, we are using Kafka 0.9's "auto broker ID" feature, is there a way to force a running kafka instance to take on a new broker ID? Thanks, Ben On Tue, Jan 5, 2016 at 6:19 PM, Gwen Shapira wrote: > Stevo pointed you at the correct document for moving topics aro

Re: Migrate a topic which has no brokers

2016-01-05 Thread Gwen Shapira
Stevo pointed you at the correct document for moving topics around. However, if you lost a broker, by far the easiest way to recover is to start a new broker and give it the same ID as the one that went down. On Tue, Jan 5, 2016 at 8:49 AM, Stevo Slavić wrote: > Hello Ben, > > Yes, you can use

Re: Migrate a topic which has no brokers

2016-01-05 Thread Stevo Slavić
Hello Ben, Yes, you can use apply different replica assignment. See related docs: http://kafka.apache.org/documentation.html#basic_ops_increase_replication_factor Kind regards, Stevo Slavic. On Tue, Jan 5, 2016 at 5:32 PM, Ben Davison wrote: > Hi All, > > On our dev kafka environment our broke

Migrate a topic which has no brokers

2016-01-05 Thread Ben Davison
Hi All, On our dev kafka environment our brokers went down with a topic on it, can we just reassign the partitions to another broker? Kafka 0.9 Thanks Ben -- This email, including attachments, is private and confidential. If you have received this email in error please notify the sender an