gaborgsomogyi commented on a change in pull request #23274: [SPARK-26322][SS] 
Add spark.kafka.token.sasl.mechanism to ease delegation token configuration.
URL: https://github.com/apache/spark/pull/23274#discussion_r240526689
 
 

 ##########
 File path: core/src/main/scala/org/apache/spark/internal/config/Kafka.scala
 ##########
 @@ -79,4 +79,13 @@ private[spark] object Kafka {
         "For further details please see kafka documentation. Only used to 
obtain delegation token.")
       .stringConf
       .createOptional
+
+  val TOKEN_SASL_MECHANISM =
+    ConfigBuilder("spark.kafka.token.sasl.mechanism")
 
 Review comment:
   The other driver what I've considered is to have parameter names in spark 
which can be searched in kafka's documentation easily:
   * Prefix: `spark.kafka` which means inside spark a kafka parameter
   * Parameter name: `sasl.mechanism` which can be searched easily on [Kafka 
configuration page](https://kafka.apache.org/documentation/#configuration)
   
   In order not to break parameter names apart I've just added a parameter 
prefix this case.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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