ingestion

package
v0.0.0-...-bbf0bf7 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ingestion

type Ingestion interface {
	Initialize() error
	GetEvents() error
	Shutdown(failure bool) error
}

type Job

type Job struct {
	ID              uuid.UUID
	IngestionClient Ingestion
	Configuration   *cingestion.IngestionJobConfiguration
	JobStatus       cingestion.JobStatus
	// contains filtered or unexported fields
}

func NewJob

NewJob creates a new Job based on the configuration in input

func (*Job) Execute

func (j *Job) Execute() error

func (*Job) Initialize

func (j *Job) Initialize() error

Initialize initiate the client and prepare for data reading process

func (*Job) OnFailure

func (j *Job) OnFailure(e error)

func (*Job) Shutdown

func (j *Job) Shutdown(failure bool) error

Shutdown terminate the process of data incoming

Directories

Path Synopsis
offline
realtime

Jump to

Keyboard shortcuts

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