[ https://issues.apache.org/jira/browse/NIFI-3599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16402428#comment-16402428 ]
ASF GitHub Bot commented on NIFI-3599: -------------------------------------- Github user mcgilman commented on a diff in the pull request: https://github.com/apache/nifi/pull/2497#discussion_r175201659 --- Diff: nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-connection-configuration.js --- @@ -1272,11 +1301,9 @@ } // initialize the connection dialog - $.when(initializeSourceNewConnectionDialog(source), initializeDestinationNewConnectionDialog(destination)).done(function () { + $.when(initializeSourceNewConnectionDialog(source), initializeDestinationNewConnectionDialog(destination), loadBackPressureDefaults()).done(function () { --- End diff -- This approach is going to query for the backpressure defaults every time a new connection is opened. Since these values are not changing, we just need to load them once. If we end up using the existing /nifi-api/flow/config endpoint, we won't need to query for these here at all. Instead, the default values can be passed into the `nfConnectionConfiguration.init(...)` function. This function is invoked inside of the response handler of the flow configuration endpoint. Inside of the `init(...)` function we could just hold a reference to these values that could be restored every time the new connection dialog is opened. > Add nifi.properties value to globally set the default backpressure size > threshold for each connection > ----------------------------------------------------------------------------------------------------- > > Key: NIFI-3599 > URL: https://issues.apache.org/jira/browse/NIFI-3599 > Project: Apache NiFi > Issue Type: Improvement > Components: Configuration > Reporter: Jeremy Dyer > Assignee: Michael Moser > Priority: Major > > By default each new connection added to the workflow canvas will have a > default backpressure size threshold of 10,000 objects. While the threshold > can be changed on a connection level it would be convenient to have a global > mechanism for setting that value to something other than 10,000. This > enhancement would add a property to nifi.properties that would allow for this > threshold to be set globally unless otherwise overridden at the connection > level. -- This message was sent by Atlassian JIRA (v7.6.3#76005)