Documentation
¶
Index ¶
- Variables
- type Config
- type Injector
- type Option
- func WithIDFinder(idFinder columnFinder) Option
- func WithInstrumentation(instr *otel.Instrumentation) Option
- func WithLogger(l loglib.Logger) Option
- func WithSkipDataEvent(skip dataEventFilter) Option
- func WithSkipSchemaEvent(skip schemaEventFilter) Option
- func WithVersionFinder(versionFinder columnFinderWithErr) Option
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUseLSN = errors.New("use LSN as event version")
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Store schemalogpg.Config
}
type Injector ¶
type Injector struct {
// contains filtered or unexported fields
}
Injector is a decorator around a wal processor that injects the wal metadata with the schemalog entry for the relevant schema. This allows following processors to have more information for processing the event effectively.
type Option ¶
type Option func(t *Injector)
func WithIDFinder ¶
func WithIDFinder(idFinder columnFinder) Option
func WithInstrumentation ¶
func WithInstrumentation(instr *otel.Instrumentation) Option
func WithLogger ¶
func WithSkipDataEvent ¶
func WithSkipDataEvent(skip dataEventFilter) Option
func WithSkipSchemaEvent ¶
func WithSkipSchemaEvent(skip schemaEventFilter) Option
func WithVersionFinder ¶
func WithVersionFinder(versionFinder columnFinderWithErr) Option
Click to show internal directories.
Click to hide internal directories.