Currently, you can't specify both whitelist/blacklist in an embedded consumer, but you can specify one of them. Is that not enough for you? And you can always run multiple instances of mirror maker, if necessary.
Thanks, Jun On Thu, Jul 26, 2012 at 9:39 AM, Riju Kallivalappil < riju.kallivalap...@corp.247customer.com> wrote: > Thanks Jun. > > On a related note, is it possible to specify wildcards for > whitelist/blacklist in the mirroring setup? The mirroring wiki [1] says > that it is not supported, but I thought I'll double check just in case. > > Are there any technical reasons why this cannot be supported? It'll go a > long way in helping with two-way mirroring setups. Otherwise, one will be > able to work only with a fixed set of topics. > > [1] https://cwiki.apache.org/confluence/display/KAFKA/Kafka+mirroring > > On Thu, Jul 26, 2012 at 8:27 AM, Jun Rao <jun...@gmail.com> wrote: > > > Riju, > > > > This would be fine since data is initially generated in one DC. > > > > Thanks, > > > > Jun > > > > On Wed, Jul 25, 2012 at 5:54 PM, Riju Kallivalappil < > > riju.kallivalap...@corp.247customer.com> wrote: > > > > > > It isn't really possible for two clusters to mirror each > > > > other - as the mirroring would never end > > > > > > Are there ways to work around this? For example, let us say that I have > > two > > > clusters (cluster1 in DC1 and cluster2 in DC2). And let's say that all > > > producers in DC1 write to topic A in cluster1 and all producers in DC2 > > > write to topic B in cluster2. Isn't it possible to have a mirroring > setup > > > where cluster1 mirrors topic B from cluster2 and cluster2 mirrors > topic A > > > from cluster1? If this is possible, then we can have consumers in both > > DC's > > > consume from topics A and B, and pretty much have two way mirroring. > > > > > >