kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ZHU Hua B <Hua.b....@alcatel-lucent.com>
Subject Mirror multi-embedded consumer's configuration
Date Wed, 19 Oct 2016 08:22:16 GMT
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


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