-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pubsub source open more transport channels (#92)
Previously the pubsub SDK opened just a single transport channel (roughly equivalent to a TCP channel). Some snowplow apps we need to batch up a very large number of events from the source before acking. In those circumstances it is good to open more streaming pulls (a type of RPC) to keep the pubsub subscription healthy. But to open more streaming pulls we also need to open more transport channels (TCP channels) to support all the RPCs. This commit adds a new config parameter `maxPullsPerTransportChannel`. The default value 16 is good for most apps.
- Loading branch information
Showing
4 changed files
with
37 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters