[ 
https://issues.apache.org/jira/browse/NIFI-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15157216#comment-15157216
 ] 

Michael Moser commented on NIFI-1522:
-------------------------------------

Huge -1 on this idea.  What a terrible user experience it is for someone to 
have an assumption of a specific time unit and that assumption doesn't match 
NiFi's assumption.  There would be no error or warning message to the user 
either.

"It's intuitive" is not a good enough argument because intuition varies from 
person to person.

If we must go down this path, please make it so only in nifi.properties.  The 
PropertyDescriptor validator provides an easy way to force time period units on 
the value.

> Period and Unit time expressions should default to milliseconds
> ---------------------------------------------------------------
>
>                 Key: NIFI-1522
>                 URL: https://issues.apache.org/jira/browse/NIFI-1522
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Joseph Witt
>            Assignee: Oleg Zhurakousky
>             Fix For: 0.6.0
>
>
> Discussion on Github about our current support for period and unit 
> expressions for time 
> https://github.com/apache/nifi/pull/210#discussion_r53167209
> We should support that if a unit of time is not specified that the period is 
> assumed to be in milliseconds.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to