exceptionfactory commented on code in PR #11242:
URL: https://github.com/apache/nifi/pull/11242#discussion_r3253204063
##########
nifi-extension-bundles/nifi-amqp-bundle/nifi-amqp-processors/src/main/java/org/apache/nifi/amqp/processors/PublishAMQP.java:
##########
@@ -166,6 +166,12 @@ protected void processResource(final Connection
connection, final AMQPPublisher
return;
}
+ if (flowFile.getSize() > Integer.MAX_VALUE) {
Review Comment:
This does not seem like the right approach, the `Integer.MAX_VALUE` is a
very large limit, but there should be other more sensible boundaries, probably
lower.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]