Yes, the consumer will pick up the new topics when it refreshes metadata
(defaults to every 5 min) and start subscribing to the new topics.

-Ewen

On Tue, Jan 3, 2017 at 3:07 PM, Greenhorn Techie <greenhorntec...@gmail.com>
wrote:

> Hi,
>
> I am new to Kafka and as well as MirrorMaker. So wondering whether MM would
> pick-up new topics that are created on the source cluster automatically,
> provided topic matches the while list pattern?
>
> For example, if I start MM as below, would it replicate any new topics that
> are created after the MM process is launched?
>
> kafka-mirror-maker.sh --new.consumer --consumer.config /opt/kafka/config/
> consumer.properties --producer.config /opt/kafka/config/producer.
> properties
> --whitelist ".*"
>
> Or is there a need to restart MM process when a new topic / pattern is
> started on the source cluster?
>
> What should be the recommended approach in regards to this?
>
> Thanks
>

Reply via email to