process

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2020 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InvokeSyncGluePartitions added in v1.5.0

func InvokeSyncGluePartitions(lambdaClient lambdaiface.LambdaAPI, logTypes []string) error

func SQS

func SQS(event events.SQSEvent) error

func Setup

func Setup()

func Sync added in v1.5.0

func Sync(event *SyncEvent, deadline time.Time) error

Sync does one logType then re-invokes, this way we have 15min/logType/sync and we do not overload the glue api

Types

type Continuation added in v1.5.0

type Continuation struct {
	LogType           string
	DataType          models.DataType
	NextPartitionTime time.Time
}

type SyncEvent added in v1.5.0

type SyncEvent struct {
	Sync         bool          // if true, this is a request to sync the partitions of the registered tables
	LogTypes     []string      // the log types to sync
	Continuation *Continuation // if not nil, start here
}

Jump to

Keyboard shortcuts

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