queue

package
v0.13.13-0...-98661b4 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Queue

type Queue interface {
	Subscribe()
	Read() string
}

type QueueInput

type QueueInput struct {
	helper.InputOperator
	// contains filtered or unexported fields
}

QueueInput is an operator that reads input from a message queue

func (*QueueInput) Start

func (g *QueueInput) Start() error

Start will start generating log entries.

func (*QueueInput) Stop

func (g *QueueInput) Stop() error

Stop will stop generating logs.

type QueueInputConfig

type QueueInputConfig struct {
	helper.InputConfig `yaml:",inline"`

	QueueType string `json:"queue_type,omitempty" yaml:"queue_type,omitempty"`
}

QueueInputConfig is the configuration of a message queue input operator.

func NewQueueInputConfig

func NewQueueInputConfig(operatorID string) *QueueInputConfig

NewQueueInputConfig creates a new message queue input config with default values

func (*QueueInputConfig) Build

Build will build a message queue input operator.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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