We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25c152b commit 4c107d8Copy full SHA for 4c107d8
src/main/java/com/google/pubsub/kafka/sink/CloudPubSubSinkTask.java
@@ -433,7 +433,7 @@ private boolean useFlowControl() {
433
// only enable flow control if at least one flow control config has been set
434
return maxOutstandingRequestBytes
435
!= CloudPubSubSinkConnector.DEFAULT_MAX_OUTSTANDING_REQUEST_BYTES
436
- || maxOutstandingRequestBytes != CloudPubSubSinkConnector.DEFAULT_MAX_OUTSTANDING_MESSAGES;
+ || maxOutstandingMessages != CloudPubSubSinkConnector.DEFAULT_MAX_OUTSTANDING_MESSAGES;
437
}
438
439
@Override
0 commit comments