gh9
gh9

Reputation: 10703

Google PubSub Pull Configuration Thresholds

When you create a Topic, you can list it as pull or push. Once pull is chosen you client can send a series of configuations If we have a byte count threshold and a delay threshold. If the delay threshould is reached before the bytecount threshold will the batch send?

Default Settings:

byteCountThreshold: 1000000

elementCountThreshold:100

delayThreshold: 10 milliseconds

Upvotes: 0

Views: 191

Answers (1)

gh9
gh9

Reputation: 10703

C# API the one I am going to use Per the api, if you have size configured then it will check the size first, if you do not meet the size thresholds it will go and check the time thresholds. So to answer the question

If the size threshold is not meet but the time one is, then the time threshold would be used

Upvotes: 1

Related Questions