Github user viirya commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21717#discussion_r200289077
  
    --- Diff: 
examples/src/main/java/org/apache/spark/examples/streaming/JavaDirectKafkaWordCount.java
 ---
    @@ -50,25 +52,30 @@
       private static final Pattern SPACE = Pattern.compile(" ");
     
       public static void main(String[] args) throws Exception {
    -    if (args.length < 2) {
    -      System.err.println("Usage: JavaDirectKafkaWordCount <brokers> 
<topics>\n" +
    -          "  <brokers> is a list of one or more Kafka brokers\n" +
    -          "  <topics> is a list of one or more kafka topics to consume 
from\n\n");
    +    if (args.length < 3) {
    +      System.err.println("Usage: JavaDirectKafkaWordCount <brokers> 
<groupId > <topics>\n" +
    --- End diff --
    
    `<groupId >` -> `<groupId>`.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to