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

    https://github.com/apache/spark/pull/22671#discussion_r223776123
  
    --- Diff: 
external/kafka-0-10-sql/src/test/scala/org/apache/spark/sql/kafka010/KafkaSinkSuite.scala
 ---
    @@ -332,7 +332,9 @@ class KafkaSinkSuite extends StreamTest with 
SharedSQLContext with KafkaTest {
         var ex: Exception = null
         try {
           ex = intercept[StreamingQueryException] {
    -        writer = createKafkaWriter(input.toDF(), withTopic = Some(topic))()
    +        writer = createKafkaWriter(input.toDF(),
    --- End diff --
    
    Honestly I think it's worth trying. Many Kafka tests are slow, and this 
could speed up many of them. What happens if it's 1 second everywhere? or even 
just 10?


---

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

Reply via email to