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

allow delayed transfer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Core Framework
    • None

    Description

      Nifi has concept of penalization, but this penalization has fixed delay, and there isn't way how to change it dynamically. 

      If we want to implement retry flow, where FlowFile flows in loop, we can either lower performance of Processor via yielding it, or we can do active waiting. And this is actually recommended as a correct way how to do that.

      It seems, that we can easily implement better RetryProcessor, all we missing is `session.penalize` which accepts `penalizationPeriod`. Processor then can gradually prolong waiting time after each failure.

       

      Would it be possible to make such method visible?

      Attachments

        1. retry.xml
          12 kB
          Martin Mucha

        Activity

          People

            pwicks Peter Wicks
            alfonz Martin Mucha
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m