Documentation
¶
Index ¶
- Constants
- type Operation
- type Registry
- type Struct
- func CompressionEvent(source Struct) Struct
- func CreateEvent(record Struct, source Struct) Struct
- func DecompressionEvent(source Struct) Struct
- func DeleteEvent(before, source Struct, tombstone bool) Struct
- func Envelope(schema, payload Struct) Struct
- func EnvelopeMessageSchema(schemaRegistry Registry, topicSchemaGenerator namegenerator.NameGenerator) Struct
- func EnvelopeSchema(schemaRegistry Registry, hypertable *systemcatalog.Hypertable, ...) Struct
- func HypertableSchema(hypertableSchemaName string, columns []systemcatalog.Column) Struct
- func KeySchema(hypertable *systemcatalog.Hypertable, ...) Struct
- func MessageEvent(prefix, content string, source Struct) Struct
- func MessageKey(prefix string) Struct
- func MessageKeySchema() Struct
- func MessageValueSchema(schemaRegistry Registry) Struct
- func ReadEvent(record Struct, source Struct) Struct
- func Source(lsn pglogrepl.LSN, timestamp time.Time, snapshot bool, ...) Struct
- func SourceSchema() Struct
- func TimescaleEventKeySchema() Struct
- func TimescaleKey(schemaName, tableName string) Struct
- func TruncateEvent(source Struct) Struct
- func UpdateEvent(before, after, source Struct) Struct
- type TimescaleOperation
Constants ¶
View Source
const MessageBlockSchemaName = "io.debezium.connector.postgresql.Message"
View Source
const MessageKeySchemaName = "io.debezium.connector.postgresql.MessageKey"
View Source
const MessageValueSchemaName = "io.debezium.connector.postgresql.MessageValue"
View Source
const SourceSchemaName = "io.debezium.connector.postgresql.Source"
View Source
const TimescaleEventSchemaName = "com.timescale.Event"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry interface { RegisterSchema(schemaName string, schema Struct) GetSchema(schemaName string) Struct GetSchemaOrCreate(schemaName string, creator func() Struct) Struct HypertableEnvelopeSchemaName(hypertable *systemcatalog.Hypertable) string HypertableKeySchemaName(hypertable *systemcatalog.Hypertable) string MessageEnvelopeSchemaName() string }
type Struct ¶
type Struct = map[schemaField]any
func CompressionEvent ¶
func CreateEvent ¶
func DecompressionEvent ¶
func DeleteEvent ¶
func EnvelopeMessageSchema ¶
func EnvelopeMessageSchema(schemaRegistry Registry, topicSchemaGenerator namegenerator.NameGenerator) Struct
func EnvelopeSchema ¶
func EnvelopeSchema(schemaRegistry Registry, hypertable *systemcatalog.Hypertable, topicSchemaGenerator namegenerator.NameGenerator) Struct
func HypertableSchema ¶
func HypertableSchema(hypertableSchemaName string, columns []systemcatalog.Column) Struct
func KeySchema ¶
func KeySchema(hypertable *systemcatalog.Hypertable, topicSchemaGenerator namegenerator.NameGenerator) Struct
func MessageEvent ¶
func MessageKey ¶
func MessageKeySchema ¶
func MessageKeySchema() Struct
func MessageValueSchema ¶
func SourceSchema ¶
func SourceSchema() Struct
func TimescaleEventKeySchema ¶
func TimescaleEventKeySchema() Struct
func TimescaleKey ¶
func TruncateEvent ¶
func UpdateEvent ¶
type TimescaleOperation ¶
type TimescaleOperation string
const ( OP_COMPRESSION TimescaleOperation = "c" OP_DECOMPRESSION TimescaleOperation = "d" )
Click to show internal directories.
Click to hide internal directories.