testconsumer

package
v0.117.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockingConsumer

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

func NewBlockingConsumer

func NewBlockingConsumer() *BlockingConsumer

func (*BlockingConsumer) Capabilities

func (bc *BlockingConsumer) Capabilities() consumer.Capabilities

func (*BlockingConsumer) ConsumeLogs

func (bc *BlockingConsumer) ConsumeLogs(_ context.Context, _ plog.Logs) error

func (*BlockingConsumer) ConsumeMetrics

func (bc *BlockingConsumer) ConsumeMetrics(_ context.Context, _ pmetric.Metrics) error

func (*BlockingConsumer) ConsumeTraces

func (bc *BlockingConsumer) ConsumeTraces(_ context.Context, _ ptrace.Traces) error

func (*BlockingConsumer) Unblock

func (bc *BlockingConsumer) Unblock()

Jump to

Keyboard shortcuts

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