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

    https://github.com/apache/spark/pull/22042#discussion_r212522432
  
    --- Diff: 
external/kafka-0-10-sql/src/test/scala/org/apache/spark/sql/kafka010/KafkaMicroBatchSourceSuite.scala
 ---
    @@ -161,6 +161,22 @@ abstract class KafkaSourceTest extends StreamTest with 
SharedSQLContext with Kaf
           s"AddKafkaData(topics = $topics, data = $data, message = $message)"
       }
     
    +  object WithKafkaProducer {
    +    def apply(
    +        topic: String,
    +        producer: KafkaProducer[String, String])(
    +        func: KafkaProducer[String, String] => Unit): AssertOnQuery = {
    --- End diff --
    
    nit: AssertOnQuery -> StreamAction


---

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

Reply via email to