schema_forwarder

package
v1.11.2 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Forwarder

type Forwarder interface {
	Start() error
	Stop()
}

func NewAbortingForwarder

func NewAbortingForwarder(terminalErrFn func(error), schemaDB jobsdb.JobsDB, log logger.Logger, conf *config.Config, stat stats.Stats) Forwarder

NewAbortingForwarder creates a new aborting forwarder that marks jobs as aborted without trying to forward them

func NewForwarder

func NewForwarder(terminalErrFn func(error), schemaDB jobsdb.JobsDB, client *pulsar.Client, backendConfig backendConfig.BackendConfig, log logger.Logger, conf *config.Config, stat stats.Stats) Forwarder

NewJobsForwarder creates a new jobs forwarder that transforms and forwards jobs to pulsar

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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