Member since
04-08-2024
1
Post
3
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
903 | 04-08-2024 11:11 PM |
04-08-2024
11:11 PM
3 Kudos
@udayAleGMSocrates wrote: Hi, I am using InvokeHTTP processer in Apache Nifi. Only 20 requests are getting POST at a time. how can I increase the number of requests post through InvokeHttp. Do we have any parameter we can add or change in the InvokeHTTP processer it self orDo we need to change any config level changes. Thanks In advance. Hello, @udayAle To increase the number of requests that can be sent concurrently through the InvokeHTTP processor in Apache NiFi, you can adjust the following settings: Concurrent Tasks: Increase the number of concurrent tasks for the InvokeHTTP processor. This can be done by: Right-clicking on the processor. Selecting ‘Configure’. Going to the ‘Scheduling’ tab. Adjusting the ‘Concurrent tasks’ setting to a higher number. Run Schedule: Decrease the run schedule to allow the processor to execute more frequently. This is also in the ‘Scheduling’ tab of the processor’s configuration. FlowFile Batching: If your flow allows, you can use processors like MergeContent to batch multiple FlowFiles into a single request, reducing the number of HTTP calls made. System Resource Considerations: Ensure that your NiFi instance has enough system resources (CPU, memory) to handle the increased load. Please note that increasing the number of concurrent requests may put additional load on both NiFi and the target server, so it’s important to monitor the performance and stability of your system after making these changes. If you’re unsure about the optimal settings, it’s a good practice to incrementally increase the concurrent tasks and observe the impact. If you need further assistance or have more questions, feel free to ask!. Best Regard, ryan1969
... View more