position

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToCDCPosition

func ConvertToCDCPosition(p opencdc.Position) (opencdc.Position, error)

Types

type Position

type Position struct {
	Key       string
	Timestamp time.Time
	Type      Type
}

func ParseRecordPosition

func ParseRecordPosition(p opencdc.Position) (Position, error)

func (Position) ToRecordPosition

func (p Position) ToRecordPosition() opencdc.Position

type Type

type Type int
const (
	TypeSnapshot Type = iota
	TypeCDC
)

Jump to

Keyboard shortcuts

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