kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jun Rao <jun...@gmail.com>
Subject Re: Preventing topics from appearing on specific brokers
Date Fri, 06 Dec 2013 05:25:26 GMT
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 <philip@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 <junrao@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 <philip@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
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message