-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(bigquery/storage/managedwriter): add custom client options (#…
…7490) * refactor(bigquery/storage/managedwriter): add custom client options This PR revisits the expected behavior for config knobs in the client. Previously, all configuration was done when instantiating a writer (aka a ManagedStream). There are some chicken-and-egg problems related to multiplex settings, as connection options are decoupled from individual writers. This PR adds the following unexported custom client options (but does not yet use them for anything): * enableMultiplex * defaultInflightRequests * defaultInflightBytes * defaultAppendRowsCallOption This PR also removes the still-unexported enableMultiplex from the set of defined WriterOption options which can be passed when instantiating individual writes. Additionally, this refactor includes a correctness fix for the traceID option that was causing the traceID to duplicate the initial token. Towards: #7103
- Loading branch information
Showing
2 changed files
with
171 additions
and
35 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