Support Questions

Find answers, ask questions, and share your expertise
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

Nifi ConsumeKafka error

New Contributor

ERROR [Timer-Driven Process Thread-8] o.a.n.p.kafka.pubsub.ConsumeKafka_2_6 ConsumeKafka_2_6[id=62dd55d9-017a-1000-39e8-6fc150e705d4] Exception while processing data from kafka so will close the lease org.apache.nifi.processors.kafka.pubsub.ConsumerPool$SimpleConsumerLease@75158887 due to java.lang.OutOfMemoryError: Java heap space: java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space



This is a heap space problem. Check if your nifi cluster is big enough to process the amount of data you are consuming from Kafka. Maybe try with a smaller dataset. 


If you find the answer helpful please accept this as a solution.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.