Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-2825

Remote Process Group should use num of queued flow files in remote nodes to distribute load

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.1.0
    • Core Framework
    • Clustered

    Description

      A RPG (Site-to-Site client) should take into account of the number of queued flow files in each remote cluster nodes, to calculate the load distribution balance among target nodes. So that it can send more data to nodes those have less queued files, or receive more data from nodes those have more queued files.

      However, after the clustering mechanism has changed since 1.0, this load distribution logic is not handled appropriately. Site-to-Site remote component always returns flow file count as 0. So RPG distribute load evenly, even if a remote cluster has unbalanced load among nodes.

      We need to fix the remote node API to expose queued flow file count correctly.

      Attachments

        Issue Links

          Activity

            People

              ijokarumawak Koji Kawamura
              ijokarumawak Koji Kawamura
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: