position

package
v0.2.0-nightly.20220218 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 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 record.Position) (record.Position, error)

Types

type Position

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

func ParseRecordPosition

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

func (Position) ToRecordPosition

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