Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDestination ¶
CreateDestination creates eventkit destination based on complex configuration. Example configurations:
127.0.0.1:1234 bigquery:app=...,project=...,dataset=... bigquery:app=...,project=...,dataset=...|batch:queueSize=111,flashSize=111,flushInterval=111 bigquery:app=...,project=...,dataset=...|parallel:runners=10|batch:queueSize=111,flashSize=111,flushInterval=111 bigquery:app=...,project=...,dataset=...,credentialsPath=/path/to/my/service-account.json|parallel:runners=10|batch:queueSize=111
Types ¶
type Application ¶
type BigQueryClient ¶
type BigQueryClient struct {
// contains filtered or unexported fields
}
func NewBigQueryClient ¶
func NewBigQueryClient(ctx context.Context, project, datasetName string, options ...option.ClientOption) (*BigQueryClient, error)
func (*BigQueryClient) SaveRecord ¶
type BigQueryDestination ¶
type BigQueryDestination struct { SourceInstance string // contains filtered or unexported fields }
BigQueryDestination can be used to save each evenkit package directly to server.
func NewBigQueryDestination ¶
func NewBigQueryDestination(ctx context.Context, appName, project, dataset string, options ...option.ClientOption) (*BigQueryDestination, error)
func (*BigQueryDestination) Run ¶
func (b *BigQueryDestination) Run(ctx context.Context)
func (*BigQueryDestination) Submit ¶
func (b *BigQueryDestination) Submit(events ...*eventkit.Event)
Submit implements Destination.
Click to show internal directories.
Click to hide internal directories.