Created on 11-09-202001:34 PM - edited on 11-10-202005:15 AM by Madhur
Recently I ran into a scenario requiring to connect my Spark Intellij IDE to Kafka DataHub. I'm not going to claim the status of a pro at IDE secure setup. Therefore for novices in the security realm alike, they may find this article useful
This article will go through steps setting up an Spark Scala IDE (Intellij) (with a supplied working code example) to connect securely to a Kafka DataHub over SASL_SSL protocol using PLAIN SASL mechanism.
Permission setup on Ranger to be able to read/write from Kafka
Intellij (or similar) with the Scala plugin installed
Workload username and password
TrustStore
Andre Sousa Dantas De Araujo did a great job explaining (very simply) how get the certificate from CDP and create a truststore. Just a few simple steps here