austince commented on a change in pull request #16023: URL: https://github.com/apache/flink/pull/16023#discussion_r644114106
########## File path: flink-connectors/flink-connector-rabbitmq/src/main/java/org/apache/flink/streaming/connectors/rabbitmq/common/RMQConnectionConfig.java ########## @@ -132,8 +141,12 @@ private RMQConnectionConfig( Integer requestedChannelMax, Integer requestedFrameMax, Integer requestedHeartbeat, - Integer prefetchCount) { + Integer prefetchCount, + Long deliveryTimeout) { Preconditions.checkNotNull(uri, "Uri can not be null"); + Preconditions.checkArgument( + deliveryTimeout == null || deliveryTimeout >= 0, + "deliveryTimeout can not be negative"); Review comment: ~Same comment here about splitting the checks or updating the message.~ oops, read this wrong -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org