nifi ConsumeKafkaRecord_2_0 22.214.171.124.4.1.1-4 - slow consuming from kafka topic which got 8 million messages
ConsumeKafkaRecord_2_0 126.96.36.199.4.1.1-4 - reading only 100 messages at a time
nifi singlenode 32core * 64 GB memory
@MattWho, please advise
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!
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.
@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,
and 3 topics have 2 million messages each