My Oracle Support Banner

Kafka Access From Flume Fails with "org.apache.kafka.common.errors.TopicAuthorizationException: Not authorized to access topics" (Doc ID 2421068.1)

Last updated on JULY 14, 2018

Applies to:

Big Data Appliance Integrated Software - Version 4.6.0 and later
Linux x86-64

Symptoms

Attempting to access Kafka from Flume fails when starting the agent with:

Unhandled exception, logging and sleeping for 5000ms
org.apache.flume.FlumeException: Source had error configuring or starting
at org.apache.flume.source.AbstractPollableSource.process(AbstractPollableSource.java:52)
at org.apache.flume.source.PollableSourceRunner$PollingRunner.run(PollableSourceRunner.java:137)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.kafka.common.errors.TopicAuthorizationException: Not authorized to access topics: [<topic_name>]

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.