Support Questions
Find answers, ask questions, and share your expertise

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

1 REPLY 1

Re: Nifi ConsumeKafka error

Contributor

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.