How Do I Do If Error Message "Not Authorized to access group xxx" Is Displayed When a Kafka Topic Is Consumed?
This issue is caused by the conflict between the Ranger authentication and ACL authentication of a cluster. If a Kafka cluster uses ACL for permission access control and Ranger authentication is enabled for the Kafka component, all authentications of the component are managed by Ranger. The permissions set by the original authentication plug-in are invalid. As a result, ACL authorization does not take effect. You can disable Ranger authentication of Kafka and restart the Kafka service to rectify the fault. The procedure is as follows:
- Log in to FusionInsight Manager and choose Cluster > Services > Kafka.
- In the upper right corner of the Dashboard page, click More and choose Disable Ranger. In the displayed dialog box, enter the password and click OK. After the operation is successful, click Finish.
- In the upper right corner of the Dashboard page, click More and choose Restart Service to restart the Kafka service.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.