The topic list is not specified in consumer.properties and I don't think
there is any property in consumer config that allows us to specify what
topics we want to consume. Can you point me to the property if there is any?

On Thu, Mar 12, 2015 at 12:14 AM, Guozhang Wang <wangg...@gmail.com> wrote:

> Tao,
>
> In MM people can pass in consumer configs, in which people can specify
> consumption topics, either in regular topic list format or whitelist /
> blacklist. So I think it already does what you need?
>
> Guozhang
>
> On Tue, Mar 10, 2015 at 10:09 PM, tao xiao <xiaotao...@gmail.com> wrote:
>
> > Thank you guys for answering. I think it will be good that we can pass
> in a
> > customised topicCount ( I think this is the interface whitelist and
> > backlist implement if I am not mistaken) to MM to achieve similar thing
> >
> > On Wednesday, March 11, 2015, Guozhang Wang <wangg...@gmail.com> wrote:
> >
> > > Hi Tao,
> > >
> > > Unfortunately MM does not support whitelist / blacklist at the same
> time,
> > > and you have to choose either one upon initialization. As for your
> case,
> > I
> > > think it can be captured by some reg-ex to exclude nothing else but
> "10",
> > > but I do not know the exact expression.
> > >
> > > Guozhang
> > >
> > > On Tue, Mar 10, 2015 at 7:58 AM, tao xiao <xiaotao...@gmail.com
> > > <javascript:;>> wrote:
> > >
> > > > I actually mean if we can achieve this in mirror maker.
> > > >
> > > > On Tue, Mar 10, 2015 at 10:52 PM, tao xiao <xiaotao...@gmail.com
> > > <javascript:;>> wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > I have an user case where I need to consume a list topics with name
> > > that
> > > > > matches pattern topic.* except for one that is topic.10. Is there a
> > way
> > > > > that I can combine the use of whitelist and blacklist so that I can
> > > > achieve
> > > > > something like accept all topics with regex topic.* but exclude
> > > topic.10?
> > > > >
> > > > > --
> > > > > Regards,
> > > > > Tao
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Regards,
> > > > Tao
> > > >
> > >
> > >
> > >
> > > --
> > > -- Guozhang
> > >
> >
> >
> > --
> > Regards,
> > Tao
> >
>
>
>
> --
> -- Guozhang
>



-- 
Regards,
Tao

Reply via email to