models

package
v1.0.0-beta.227 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 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 ProcessingState

type ProcessingState int8
const (
	OK ProcessingState = iota
	DROP
)

func (ProcessingState) String

func (c ProcessingState) String() string

type ProcessingStatus

type ProcessingStatus struct {
	State     ProcessingState
	DropError error
}

type SinkMessage

type SinkMessage struct {
	Namespace    string
	KafkaMessage *kafka.Message
	Serialized   *serializer.CloudEventsKafkaPayload
	Status       ProcessingStatus
	// Meters contains the list of meters this message affects
	Meters []*meter.Meter
}

func (SinkMessage) GetDedupeItem

func (m SinkMessage) GetDedupeItem() dedupe.Item

Jump to

Keyboard shortcuts

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