markap14 commented on code in PR #7895: URL: https://github.com/apache/nifi/pull/7895#discussion_r1367022418
########## nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ControlRate.java: ########## @@ -66,6 +66,52 @@ @CapabilityDescription("Controls the rate at which data is transferred to follow-on processors." + " If you configure a very small Time Duration, then the accuracy of the throttle gets worse." + " You can improve this accuracy by decreasing the Yield Duration, at the expense of more Tasks given to the processor.") +@UseCase(description = "Limit the rate at which data is sent to a downstream system with little to no bursts", + keywords = {"throttle", "limit", "slow down", "data rate"}, + configuration = """ + Set the "Rate Control Criteria" to `data rate`. + Set the "Time Duration" property to `1 sec`. + Configure the "Maximum Rate" property to specify how much data should be allowed through each second. + + For example, to allow through 8 MB per second, "Maximum Rate" to `8 MB`. Review Comment: Good catch @mosermw thanks -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org