Apache Ranger for authorization
Ranger is a used to monitor and manage security across the Hadoop ecosystem. It provides a centralized platform from which to create and manage security policies across the cluster. We will look at how we can use Ranger to create policies for the Kafka cluster.
Adding Kafka Service to Ranger
The following screenshot shows the user interface in Ranger which is used to add services. We will add Kafka service here to configure policies for it later:

Let's look into the Service Details
:
Service name
: The service name needs to be set up in agent config. For example, in this case, it can be KafkaDescription
: This represents what this service will doActive Status
: This refers to enabling or disabling this service
Config properties :
Username
: This will be used to connect to this service. In case of Kafka, this is a principal who has access to defined resources to configure security.Password
: This refers to the password of the user for authentication.Zookeeper Connect...