Skip to content
Snippets Groups Projects
Commit 8aaef5c7 authored by baishuo(白硕)'s avatar baishuo(白硕) Committed by Tathagata Das
Browse files

Update KafkaWordCount.scala

modify the required args number

Author: baishuo(白硕) <vc_java@hotmail.com>

Closes #523 from baishuo/master and squashes the following commits:

0368ba9 [baishuo(白硕)] Update KafkaWordCount.scala
parent 25a276dd
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ object KafkaWordCount {
object KafkaWordCountProducer {
def main(args: Array[String]) {
if (args.length < 2) {
if (args.length < 4) {
System.err.println("Usage: KafkaWordCountProducer <metadataBrokerList> <topic> " +
"<messagesPerSec> <wordsPerMessage>")
System.exit(1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment