Skip to content

Add BigtableDataClient to legacy client init #1157

@daniel-sanche

Description

@daniel-sanche

To enable the shim, we need to let the legacy client hold an instance of the hand-written BigtableDataClient.

The data client uses background threads to manage automatic channel refresh, which are cleaned up when close() is called. Code written for the legacy client likely doesn't call close the same way. We should disable background refresh for the wrapped client (and maybe expose it to end-users as well?)

Note: Consider whether the wrapped data client should use a different version string for analytics

From go/bigtable_legacy_deprecation:

Old API

Replacement

Metadata

Metadata

Assignees

Labels

api: bigtableIssues related to the googleapis/python-bigtable API.priority: p3Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions