Github user markap14 commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/1127#discussion_r83220736
  
    --- Diff: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ControlRate.java
 ---
    @@ -228,12 +238,13 @@ public void onScheduled(final ProcessContext context) 
{
             rateControlAttribute = 
context.getProperty(RATE_CONTROL_ATTRIBUTE_NAME).getValue();
             maximumRateStr = 
context.getProperty(MAX_RATE).getValue().toUpperCase();
             groupingAttributeName = 
context.getProperty(GROUPING_ATTRIBUTE_NAME).getValue();
    +        maxFlowFilePerTrigger = 
context.getProperty(MAX_FF_PER_TRIGGER).getValue();
    --- End diff --
    
    This should probably be defined as an int, rather than a String, and can 
then just use context.getProperty().asInteger(). But I really prefer to remove 
this property all together.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to