You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Andy LoPresto (Jira)" <ji...@apache.org> on 2020/02/19 22:05:00 UTC

[jira] [Created] (NIFI-7172) Trim leading and trailing space from nifi.properties values

Andy LoPresto created NIFI-7172:
-----------------------------------

             Summary: Trim leading and trailing space from nifi.properties values
                 Key: NIFI-7172
                 URL: https://issues.apache.org/jira/browse/NIFI-7172
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Configuration, Configuration Management
    Affects Versions: 1.11.2
            Reporter: Andy LoPresto


Many users have complained about the difficult 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. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)