gaborgsomogyi opened a new pull request #25631: [SPARK-28928][SS] Take over 
Kafka delegation token protocol on sources/sinks
URL: https://github.com/apache/spark/pull/25631
 
 
   ### What changes were proposed in this pull request?
   At the moment there are 3 places where communication protocol with Kafka 
cluster has to be set when delegation token used:
   * On delegation token
   * On source
   * On sink
   
   Most of the time users are using the same protocol on all these places 
(within one Kafka cluster). It would be better to declare it in one place 
(delegation token side) and Kafka sources/sinks can take this config over.
   
   In this PR I've I've modified the code in a way that Kafka sources/sinks are 
taking over delegation token side `security.protocol` configuration when the 
token and the source/sink matches in `bootstrap.servers` configuration. This 
default configuration can be overwritten on each source/sink independently by 
using `kafka.security.protocol` configuration.
   
   ### Why are the changes needed?
   The actual configuration's default behavior represents the minority of the 
use-cases and inconvenient.
   
   ### Does this PR introduce any user-facing change?
   Yes, with this change users need to provide less configuration parameters by 
default.
   
   ### How was this patch tested?
   Existing + additional unit tests.
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to