gaborgsomogyi commented on a change in pull request #25477: 
[SPARK-28760][SS][TESTS] Add Kafka delegation token end-to-end test with mini 
KDC
URL: https://github.com/apache/spark/pull/25477#discussion_r318097807
 
 

 ##########
 File path: 
external/kafka-0-10-sql/src/test/scala/org/apache/spark/sql/kafka010/KafkaTestUtils.scala
 ##########
 @@ -110,20 +207,25 @@ class KafkaTestUtils(withBrokerProps: Map[String, 
Object] = Map.empty) extends L
   private def setupEmbeddedKafkaServer(): Unit = {
     assert(zkReady, "Zookeeper should be set up beforehand")
 
+    val protocolName = if (!secure) {
+      PLAINTEXT.name
+    }
+    else {
 
 Review comment:
   Moved to single line.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to