fanout

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2020 License: Apache-2.0 Imports: 11 Imported by: 1

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