fanout

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2020 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 Processor

type Processor struct {
	processors.BaseProcessor

	// MaxConcurrency is the max number of goroutine it will spawn
	// for each event.
	MaxConcurrency int

	// Targets is the targets from config.
	Targets config.ReadonlyTargets
}

Processor fanouts an event based on the broker key in the context.

func (*Processor) Process

func (p *Processor) Process(ctx context.Context, event *event.Event) error

Process fanouts the given event.

Jump to

Keyboard shortcuts

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