Github user kellyzly commented on a diff in the pull request:
https://github.com/apache/spark/pull/19854#discussion_r155080359
--- Diff:
external/kafka-0-10-sql/src/test/scala/org/apache/spark/sql/kafka010/KafkaTestUtils.scala
---
@@ -296,7 +296,8 @@ class KafkaTestUtils(withBrokerProps: Map[String,
Object] = Map.empty) extends L
props.put("replica.socket.timeout.ms", "1500")
props.put("delete.topic.enable", "true")
props.put("offsets.topic.num.partitions", "1")
- props.putAll(withBrokerProps.asJava)
+ // props.putAll(withBrokerProps.asJava)
+ withBrokerProps.foreach{ case (k, v) => props.put(k, v) }
--- End diff --
yes, the change to the putAll is similar as the solution provided in
scala/bug#10418
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]