Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How does NiFi support parallel processing of messages ? Also do we have the threading configuration at processor level ? Does the Nifi flow setting applicable to entire NiFi instance?

avatar
 
1 ACCEPTED SOLUTION

avatar
Master Guru

Define parallel processing.

You have many nodes for ingest.

https://nifi.apache.org/docs/nifi-docs/html/user-guide.html

Event driven: When this mode is selected, the Processor will be triggered to run by an event, and that event occurs when FlowFiles enter Connections feeding this Processor. This mode is currently considered experimental and is not supported by all Processors. When this mode is selected, the ‘Run schedule’ option is not configurable, as the Processor is not triggered to run periodically but as the result of an event. Additionally, this is the only mode for which the ‘Concurrent tasks’ option can be set to 0. In this case, the number of threads is limited only by the size of the Event-Driven Thread Pool that the administrator has configured.

View solution in original post

2 REPLIES 2

avatar
Master Guru

Define parallel processing.

You have many nodes for ingest.

https://nifi.apache.org/docs/nifi-docs/html/user-guide.html

Event driven: When this mode is selected, the Processor will be triggered to run by an event, and that event occurs when FlowFiles enter Connections feeding this Processor. This mode is currently considered experimental and is not supported by all Processors. When this mode is selected, the ‘Run schedule’ option is not configurable, as the Processor is not triggered to run periodically but as the result of an event. Additionally, this is the only mode for which the ‘Concurrent tasks’ option can be set to 0. In this case, the number of threads is limited only by the size of the Event-Driven Thread Pool that the administrator has configured.

avatar

Thanks @Timothy Spann for this answer, I was wondering which parameter in the nifi propertiescontrols size of the Event Driven Thread Pool ?