Which version are you using for the MM? Guozhang
On Thu, Oct 20, 2016 at 10:13 PM, ZHU Hua B <hua.b....@alcatel-lucent.com> wrote: > Hi, > > > Anybody could help to answer below question? Thanks! > > > > > > Best Regards > > Johnny > > From: ZHU Hua B > Sent: 2016年10月19日 16:22 > To: 'users@kafka.apache.org' > Subject: Mirror multi-embedded consumer's configuration > > Hi, > > > I launch Kafka mirror maker with multi-embedded consumer's configuration > but failed as below, what’s the mean of “you asked for only one”, is there > an option control it? Thanks! > > # bin/kafka-mirror-maker.sh --consumer.config config/consumer-1.properties > --consumer.config config/consumer-2.properties --num.streams 2 > --producer.config config/producer.properties --whitelist '.*' > [2016-10-19 16:00:14,183] ERROR Exception when starting mirror maker. > (kafka.tools.MirrorMaker$) > joptsimple.MultipleArgumentsForOptionException: Found multiple arguments > for option consumer.config, but you asked for only one > at joptsimple.OptionSet.valueOf(OptionSet.java:179) > at kafka.tools.MirrorMaker$.main(MirrorMaker.scala:235) > at kafka.tools.MirrorMaker.main(MirrorMaker.scala) > Exception in thread "main" java.lang.NullPointerException > at kafka.tools.MirrorMaker$.main(MirrorMaker.scala:286) > at kafka.tools.MirrorMaker.main(MirrorMaker.scala) > > > > > > > Best Regards > > Johnny > > -- -- Guozhang