channel

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Type = "channel"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	BatchSize          int           `yaml:"batchSize" default:"2048"`
	BatchBytes         int64         `yaml:"batchBytes" default:"33554432"` // default:32MB
	BatchAggMaxTimeout time.Duration `yaml:"batchAggTimeout" default:"1s"`
}

type Queue

type Queue struct {
	// contains filtered or unexported fields
}

func (*Queue) Category

func (c *Queue) Category() api.Category

func (*Queue) Config

func (c *Queue) Config() interface{}

func (*Queue) In

func (c *Queue) In(event api.Event)

func (*Queue) Init

func (c *Queue) Init(context api.Context) error

func (*Queue) Out

func (c *Queue) Out() api.Batch

func (*Queue) OutChan

func (c *Queue) OutChan() chan api.Batch

func (*Queue) Start

func (c *Queue) Start() error

func (*Queue) Stop

func (c *Queue) Stop()

func (*Queue) String

func (c *Queue) String() string

func (*Queue) Type

func (c *Queue) Type() api.Type

Jump to

Keyboard shortcuts

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