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

    https://github.com/apache/spark/pull/12418#discussion_r59874007
  
    --- Diff: 
examples/src/main/java/org/apache/spark/examples/streaming/JavaDirectKafkaWordCount.java
 ---
    @@ -64,8 +66,8 @@ public static void main(String[] args) {
         SparkConf sparkConf = new 
SparkConf().setAppName("JavaDirectKafkaWordCount");
         JavaStreamingContext jssc = new JavaStreamingContext(sparkConf, 
Durations.seconds(2));
     
    -    HashSet<String> topicsSet = new 
HashSet<>(Arrays.asList(topics.split(",")));
    -    HashMap<String, String> kafkaParams = new HashMap<>();
    +    Set<String> topicsSet = new 
HashSet<>(Arrays.asList(topics.split(",")));
    --- End diff --
    
    OK, just touched up this unrelated point while I was here.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to