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

    https://github.com/apache/spark/pull/6841#discussion_r35546290
  
    --- Diff: 
examples/src/main/scala/org/apache/spark/examples/streaming/ZeroMQWordCount.scala
 ---
    @@ -90,7 +89,9 @@ object ZeroMQWordCount {
         def bytesToStringIterator(x: Seq[ByteString]): Iterator[String] = 
x.map(_.utf8String).iterator
     
         // For this stream, a zeroMQ publisher should be running.
    -    val lines = ZeroMQUtils.createStream(ssc, url, Subscribe(topic), 
bytesToStringIterator _)
    +    val lines = ZeroMQUtils.createStream[String](
    --- End diff --
    
    Need to use `createStream[String]` to make the compiler happy. There are 
two `createStream` with default parameters and looks the compiler is confused. 
Maybe we should use a new method name for the new `createStream` with 
`actorSystemCreator`.


---
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