Support Questions

Find answers, ask questions, and share your expertise

Getting {myTopic=TOPIC_AUTHORIZATION_FAILED} in Kafka

avatar
Explorer

I am following https://medium.com/egen/how-to-configure-oauth2-authentication-for-apache-kafka-cluster-using-okta-8... for setting up OAuth2.0

But when I try to produce data I get Error while fetching metadata with correlation id 43 : {myTopic=TOPIC_AUTHORIZATION_FAILED}.

Can anyone please help me out

I tried adding invalid details in my sasl-oauth2-consumerapp-config.properties file to check if it is picking the right file , it seems like right file is picked.

1 REPLY 1

avatar
Rising Star

The message means that the authentication is valid, but the user is not authorized to use the topic. Can you confirm what authorizer are you using and the current oauth configuration?