Ranger Kafka plugin
After verifying the user’s authentication, it is necessary to determine the access rights. User access rights to resources are determined by authorization.
Create services for the Kafka ADS service and add a user access policy to the services.
Create services based on tags — allows you to control access to resources of multiple components without creating separate services and policies in each component.
Use Ranger Tab Sync to synchronize the Ranger tag store with an external metadata service such as Apache Atlas.
In order to gain access to the Ranger web interface, perform the following steps:
Open a web browser and navigate to the Ranger web interface. To do this, in the Main tab of the Ranger service, follow the link for the Ranger web interface.Link to go to the Ranger web interface
Enter your administrator credentials and click Sign in to log in as a Ranger administrator.Log in to RangerLog in to RangerNOTEPasswords for accessing the Ranger web interface are set before installing the ADPS cluster services in the Credentials Ranger service configuration section.
As a result, the Service manager interface window opens.Service manager RangerService manager Ranger
In order to integrate the ADPS cluster with the ADS cluster, perform the following steps:
Go to the Import tab of the ADS cluster.
Select the ranger component in the panel. This component belongs to the Ranger service of the ADPS cluster.
In order to activate Ranger Kafka Plugin, perform the following steps:
Initiate Ranger Kafka Plugin activation. To do this, select Manage Ranger Plugin in Actions of the Kafka service of the selected ADS cluster.Enable Ranger Kafka Plugin
In the Run an action window that opens, it is necessary to mark the required state of the Desired plugin state parameter.Enable Ranger Kafka Plugin
If you select the
enablestate, then the default policy for the Kafka Plugin will be applied to the Ranger.
Wait for the Ranger Kafka plugin activation process to complete and the default policy to be created on the Ranger side. Analyze and correct errors if they occur.Ranger Kafka Plugin installation process
After successful activation, the authorization policy service for the Kafka service of the selected ADS cluster will appear in the Service manager interface.
To view the created policies for the cluster, click on the name of the service.
This makes available the policies automatically created for the cluster servers.
To view, edit or delete policies, use the buttons in the Action column.