Help Center/ MapReduce Service/ Developer Guide (Normal_3.x)/ Kafka Development Guide (Security Mode)/ FAQs in Kafka Application Development/ Topic Authentication Fails During Sample Running and "TOPIC_AUTHORIZATION_FAILED" Is Displayed
Updated on 2026-04-10 GMT+08:00

Topic Authentication Fails During Sample Running and "TOPIC_AUTHORIZATION_FAILED" Is Displayed

Symptom

The message "example-metric1=TOPIC_AUTHORIZATION_FAILED" is displayed when the topic authentication fails.

Troubleshooting Procedure

  1. Apply to the administrator for the access permission for the related topic.
  2. If the topic cannot be logged in after the access permission is assigned, log in to FusionInsight Manager, go to the Kafka service configuration page, search for allow.everyone.if.no.acl.found, and change the value to true. Then, run the sample again.