Created on 09-14-2020 10:48 AM - last edited on 09-15-2020 12:59 AM by VidyaSargur
NIFI 1.9
HDF 3.4.1
nifi ConsumeKafkaRecord_2_0 1.9.0.3.4.1.1-4 - slow consuming from kafka topic which got 8 million messages
ConsumeKafkaRecord_2_0 1.9.0.3.4.1.1-4 - reading only 100 messages at a time
nifi singlenode 32core * 64 GB memory
@MattWho, please advise
Created 09-14-2020 11:28 AM
Created 09-15-2020 01:03 PM
@Wynner @pvillard @bbende @MattWho @TimothySpann
I have single node nifi, where the Kafka topic has 3 partitions but ConsumeKafkaRecord_2_0 though configured with 3 threads on single node nifi, it's pulling only 50 messages or even less.
i am assuming though nifi is a single node, as I have configured to use 3 threads based on the partitions on topic, it should consume data. in my case, it's pulling only 30-50 messages per second
any pointers would be greatly helpful. thanks!
HDF 3.4
nifi 1.9
Created 09-15-2020 01:10 PM
Upgrade to newer, make sure NiFi has 2GB+ of RAM.
On my laptop NiFi 1.11.4 is pulling in 1,500 records a second.
How large are those Kafka messages? What format? example? Don't use threads for that.
Created 09-15-2020 08:22 PM
@TimothySpann thanks for your response.
- i assume ConsumeKafkaRecord_2_0 1.9 will consume messages from the Kafka partitions based on "max poll records".in my case I have set it to 100000.
please let me know if my assumption is wrong.
could you also confirm if there are any limitations to pull bulk messages like at least 10K messages in a single poll? with 1.9 nifi
message size is 2 MB,
Avro format
and 3 topics have 2 million messages each