-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bigtable: make client settings more consistent #4498
Conversation
The eventual goal is to deemphasize per method RPC settings by relegating them to stubSettings. And promote more common settings like credentials to the top level. This breaks backwards compatibility by removing BigtableDataSettings' base class. It tries to ease the transition by copying the ClientSettings methods down into BigtableDataSettings. Specific changes: - BigtableDataSettings is no longer a subclass of ClientSettings - ClientSettings methods have been temporarily copied to BigtableDataSettings with deprecation warnings to ease transition - add helper method to ease connection to emulator - make sure that credential provider is configurable at the top level (fixes googleapis#3634) - all of the deprecated methods have been grouped together and will be removed in the next couple of releases (along with the deprecated google-bigtable-admin artifact)
Codecov Report
@@ Coverage Diff @@
## master #4498 +/- ##
============================================
- Coverage 49.16% 49.15% -0.02%
- Complexity 21915 21917 +2
============================================
Files 2078 2078
Lines 207084 207152 +68
Branches 24084 24084
============================================
+ Hits 101815 101818 +3
- Misses 97126 97191 +65
Partials 8143 8143
Continue to review full report at Codecov.
|
@igorbernstein2, it looks like all tests are failing now. |
# Conflicts: # google-cloud-clients/google-cloud-bigtable/src/test/java/com/google/cloud/bigtable/data/v2/stub/ResourceHeaderTest.java
I think it was just a merge conflict |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a lot of different threads of work here. Can you please break down this work into smaller PRs so that the reviewing can be more effective?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`
The eventual goal is to deemphasize per method RPC settings by relegating them to stubSettings. And promote more common settings like credentials to the top level.
This breaks backwards compatibility by removing BigtableDataSettings' base class. It tries to ease the transition by copying the ClientSettings methods down into BigtableDataSettings.
Specific changes:
Fixes #<issue_number_goes_here> (it's a good idea to open an issue first for context and/or discussion)