Interface FlowControlOptions (4.4.0)

FlowControlOptions {number} [maxOutstandingMessages] The maximum number of messages to buffer before publisher flow control kicks in. {number} [maxOutstandingBytes] The maximum number of bytes to buffer before publisher flow control kicks in.

Package

@google-cloud/pubsub

Properties

maxOutstandingBytes

maxOutstandingBytes?: number;

maxOutstandingMessages

maxOutstandingMessages?: number;