dbupdatetypes

package
v0.0.0-...-9835270 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2021 License: AGPL-3.0, Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheFactory

type CacheFactory = func(string, *config.Dendrite, Pool) CacheProcessor

type CacheInput

type CacheInput struct {
	Event *dbtypes.DBEvent
}

type CacheProcessor

type CacheProcessor interface {
	Start()
	Process(ctx context.Context, input CacheInput) error
}

type DBEventDataInput

type DBEventDataInput struct {
	Data   []byte
	RawMsg interface{}
	Event  *dbtypes.DBEvent
}

type DBEventSeqBatch

type DBEventSeqBatch interface {
	BatchKeys() map[int64]bool
}

type DBEventSeqProcessor

type DBEventSeqProcessor interface {
	Start()
	Process(ctx context.Context, input []DBEventDataInput) error
}

type KafkaCommiter

type KafkaCommiter interface {
	Commit(rawMsg []interface{}) error
}

type Pool

type Pool interface {
	Pool() *redis.Pool
}

type ProcessorFactory

type ProcessorFactory = func(string, *config.Dendrite) DBEventSeqProcessor

Jump to

Keyboard shortcuts

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