aggregator

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package aggregator provides the core orchestration logic for the log processing pipeline. It coordinates the flow of messages from sources to sinks through processors.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pipeline added in v1.1.0

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

Pipeline orchestrates the flow of log messages from a Source, through a series of Processors, to a Sink.

func NewPipeline added in v1.1.0

func NewPipeline(src source.LogSource, procs []processor.Processor, snk sink.Sink, bufferLen int) *Pipeline

NewPipeline creates a new log processing pipeline.

func (*Pipeline) Run added in v1.1.0

func (p *Pipeline) Run(ctx context.Context) error

Run starts the pipeline and blocks until the context is cancelled or an error occurs.

Jump to

Keyboard shortcuts

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