geist-connector-bigquery

module
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2024 License: MIT

README

GEIST BigQuery Connector

Go Report Card Quality Gate Status Maintainability Rating Reliability Rating Security Rating

Geist BigQuery Connector enables BigQuery as a sink type in stream specs when using Geist.

Note that this connector previously resided in the geist-connector-gcp repo, but was moved out to its own for improved maintainability and ease of use.

Usage

See GEIST core repo for general information.

Install with:

go get github.com/zpiroux/geist-connector-bigquery
Geist Integration

Register connector prior to starting up Geist with (error handling omitted):

import (
	"github.com/zpiroux/geist"
	"github.com/zpiroux/geist-connector-bigquery/gbigquery"
)

...
geistConfig := geist.NewConfig()

bqConfig := &gbigquery.Config{ /* add config */ }

err = geistConfig.RegisterExtractorType(gbigquery.NewExtractorFactory(bqConfig))
err = geistConfig.RegisterLoaderType(gbigquery.NewLoaderFactory(bqConfig))

g, err := geist.New(ctx, geistConfig)
...
Stream Spec Configuration

For now, see stream spec examples here and here.

Contact

info @ zpiroux . com

License

Geist BigQuery Connector source code is available under the MIT License.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL