Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
1.0 kB
2
Indexable
Never
iam getting below error
ec2-user@ip-192-168-21-76 bin]$ ./kafka-consumer-groups.sh --bootstrap-server b-2.sitkafkacluster.mxb3zy.c2.kafka.ap-south-1.amazonaws.com:9098,b-1.sitkafkacluster.mxb3zy.c2.kafka.ap-south-1.amazonaws.com:9098 --create --group tibenrichedODSData --topic tibenrichedODSData
Exception in thread "main" joptsimple.UnrecognizedOptionException: create is not a recognized option
        at joptsimple.OptionException.unrecognizedOption(OptionException.java:108)
        at joptsimple.OptionParser.handleLongOptionToken(OptionParser.java:510)
        at joptsimple.OptionParserState$2.handleArgument(OptionParserState.java:56)
        at joptsimple.OptionParser.parse(OptionParser.java:396)
        at kafka.admin.ConsumerGroupCommand$ConsumerGroupCommandOptions.<init>(ConsumerGroupCommand.scala:1084)
        at kafka.admin.ConsumerGroupCommand$.main(ConsumerGroupCommand.scala:49)
        at kafka.admin.ConsumerGroupCommand.main(ConsumerGroupCommand.scala)
[ec2-user@ip-192-168-21-76 bin]$