Kafka Access From Flume Fails with "org.apache.kafka.common.errors.TopicAuthorizationException: Not authorized to access topics"
(Doc ID 2421068.1)
Last updated on JANUARY 29, 2020
Applies to:
Big Data Appliance Integrated Software - Version 4.6.0 and laterLinux 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>]
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! |
In this Document
Symptoms |
Cause |
Solution |