Hmm, could this feature be added in the future?

Although a better solution might be to turn mirrormaker into something like 
'hidden replicas', where a certain set of brokers in a cross-site super-cluster 
replicate topics onto the secondary site but don't take part in topic 
leadership - is this on the cards at all?

Thanks,
SimonC

-----Original Message-----
From: Stevo Slavić [mailto:ssla...@gmail.com] 
Sent: 05 January 2016 14:04
To: users@kafka.apache.org
Subject: Re: Does MirrorMaker delete topics?

AFAIK "if the right options are set" actually means "if 
auto.create.topics.enable is left to default, set to true". As on any Kafka 
cluster with this configuration option, this will allow implicit topic 
creation, e.g. on first message being published to the topic, if topic does not 
exist it will get created. There are no other guarantees when it comes to 
syncing topic metadata - topic metadata can be completely different e.g.
different number of partitions, different replica assignment including 
preferred lead, and also topic can get deleted on source and will not be 
deleted on mirror cluster. MirrorMaker only syncs data, not metadata.

Kind regards,
Stevo Slavic.

On Tue, Jan 5, 2016 at 2:53 PM, Simon Cooper < simon.coo...@featurespace.co.uk> 
wrote:

> Hi all,
>
> In the kafka docs, it mentions that MirrorMaker will automatically 
> create topics on the mirror cluster if the right options are set. Does 
> it automatically delete topics on the mirror that are deleted on the 
> main cluster as well?
>
> Thanks,
> SimonC
>

Reply via email to