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

Switch to Threaded View
Kafka >> mail # user >> Preventing topics from appearing on specific brokers


Copy link to this message
-
Re: Preventing topics from appearing on specific brokers
Sweet -- thanks Jun.
On Thu, Dec 5, 2013 at 9:25 PM, Jun Rao <[EMAIL PROTECTED]> wrote:

> That's right. Remove the local log dir from brokers that you don't want to
> have the topic.
>
> Thanks,
>
> Jun
>
>
> On Thu, Dec 5, 2013 at 9:22 PM, Philip O'Toole <[EMAIL PROTECTED]> wrote:
>
> > Interesting. So if we want to restrict it to a certain set of brokers, we
> > could just create the topic directories by hand on the brokers where we
> do
> > want the topic, and then bounce the service on those brokers?
> >
> > Philip
> >
> >
> > On Thu, Dec 5, 2013 at 9:18 PM, Jun Rao <[EMAIL PROTECTED]> wrote:
> >
> > > In 0.7, if a topic already exists on at least one broker in a cluster,
> it
> > > won't be created on newly added brokers.
> > >
> > > Thanks,
> > >
> > > Jun
> > >
> > >
> > > On Thu, Dec 5, 2013 at 4:29 PM, Philip O'Toole <[EMAIL PROTECTED]>
> > wrote:
> > >
> > > > Hello,
> > > >
> > > > Say we are using Zookeeper-based Producers, and we specify a topic to
> > be
> > > > written to. Since we don't specify the actual brokers, is there a way
> > to
> > > > prevent a topic from appearing on a specific broker? What if we set
> the
> > > > topic's partition count to 0 on the broker we don't want it to
> appear?
> > > >
> > > > Would that work?
> > > >
> > > > Thanks,
> > > >
> > > > Philip
> > > >
> > >
> >
>