kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stevo Slavić <ssla...@gmail.com>
Subject Re: Does MirrorMaker delete topics?
Date Tue, 05 Jan 2016 14:03:40 GMT
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.cooper@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
>

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