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

ReplaceText improvement when removing flowfile content

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.12.0, 1.11.4
    • Extensions
    • None

    Description

      Quite often I see users using ReplaceText processor to remove the content of the flow files. However, quite frequently the defaults values are kept in place except the "Replacement Value" which is set to an empty string. This is a bit inefficient because it'll still do the regex evaluation. It'd be more efficient if changing the "Replacement Strategy" to "Always Replace".

      We could make the processor a bit more clever and do this automatically. This will increase performances and reduce CPU consumption.

      Attachments

        Issue Links

          Activity

            People

              pvillard Pierre Villard
              pvillard Pierre Villard
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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