convert

package
v0.3.67-rc-ed0ecaf Latest Latest
Warning

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

Go to latest
Published: May 16, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEventConverter

func NewEventConverter(compressor compress.Compressor, maxMessageBatchSize uint, metrics *metrics.Metrics) ingest.InstructionConverter[*model.BatchUpdate]

Types

type EventConverter

type EventConverter struct {
	Compressor          compress.Compressor
	MaxMessageBatchSize uint
	// contains filtered or unexported fields
}

EventConverter converts event sequences into events that we can store in Redis

func (*EventConverter) Convert

func (ec *EventConverter) Convert(ctx context.Context, sequencesWithIds *ingest.EventSequencesWithIds) *model.BatchUpdate

Jump to

Keyboard shortcuts

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