Github user tdas commented on a diff in the pull request:
https://github.com/apache/spark/pull/22042#discussion_r212507190
--- Diff:
external/kafka-0-10-sql/src/test/scala/org/apache/spark/sql/kafka010/KafkaMicroBatchSourceSuite.scala
---
@@ -160,6 +160,23 @@ abstract class KafkaSourceTest extends StreamTest with
SharedSQLContext {
s"AddKafkaData(topics = $topics, data = $data, message = $message)"
}
+ object WithKafkaProducer {
+ def apply(
+ topic: String,
+ producer: KafkaProducer[String, String])(
--- End diff --
Ping on this comment. Maybe you missed this?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]