event

package
v4.3.5 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventRecorder

type EventRecorder interface {
	SynchronizeEvents(bulkSize int64) error
	FlushEvents(bulkSize int64) error
}

EventRecorder interface

func NewEventRecorderSingle

func NewEventRecorderSingle(
	eventStorage storage.EventStorageConsumer,
	eventRecorder service.EventsRecorder,
	logger logging.LoggerInterface,
	metadata dtos.Metadata,
	runtimeTelemetry storage.TelemetryRuntimeProducer,
) EventRecorder

NewEventRecorderSingle creates new event synchronizer for posting events

type RecorderSingle

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

RecorderSingle struct for event sync

func (*RecorderSingle) FlushEvents

func (e *RecorderSingle) FlushEvents(bulkSize int64) error

FlushEvents flushes events

func (*RecorderSingle) SynchronizeEvents

func (e *RecorderSingle) SynchronizeEvents(bulkSize int64) error

SynchronizeEvents syncs events

Jump to

Keyboard shortcuts

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