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 <phi...@loggly.com> 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 <jun...@gmail.com> 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 <phi...@loggly.com>
> 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
> > >
> >
>

Reply via email to