faucet-common-bigquery
Shared credential configuration and client construction for the BigQuery source and sink connectors in the faucet-stream ecosystem.
Contents
BigQueryCredentials— credential source:ServiceAccountKeyPath(String),ServiceAccountKey(String)(inline JSON), orApplicationDefault. DerivesSerialize,Deserialize,JsonSchema. ItsDebugimpl masks inline JSON as"***".build_client(&BigQueryCredentials)— async helper that turns aBigQueryCredentialsinto a ready-to-usegcp_bigquery_client::Client.
Usage
Most users do not depend on this crate directly. It is re-exported by:
Depend on this crate directly only if you are building a third-party connector that needs to accept the same credentials shape in its config.
License
MIT OR Apache-2.0