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

Trim leading and trailing space from nifi.properties values

    XMLWordPrintableJSON

Details

    Description

      Many users have complained about the difficulty of diagnosing unexpected behavior when a nifi.properties value does not match the desired value perfectly. Many property accessors perform an exact string match, and leading/trailing spaces can cause this to fail silently. This is especially to diagnose because it is often not apparent in the text editors used to display the properties file or log messages.

      The property value should have both leading and trailing space trimmed before being consumed.

      Attachments

        Issue Links

          Activity

            People

              eaolson Eric Olson
              alopresto Andy LoPresto
              Votes:
              0 Vote for this issue
              Watchers:
              5 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 - 3h 20m
                  3h 20m