position

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 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 sdk.Position) (sdk.Position, error)

Types

type Position

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

func ParseRecordPosition

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

func (Position) ToRecordPosition

func (p Position) ToRecordPosition() sdk.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