- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Getting {myTopic=TOPIC_AUTHORIZATION_FAILED} in Kafka
- Labels:
-
Apache Kafka
Created 09-28-2023 02:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Created 12-05-2023 04:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?