Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// List of tables to allow. Tables should be schema qualified. If no schema
// is provided, the public schema will be assumed. Wildcards "*" are
// supported.
IncludeTables []string
// List of tables to skip. Tables should be schema qualified. If no schema
// is provided, the public schema will be assumed. Wildcards "*" are
// supported.
ExcludeTables []string
}
type Filter ¶
type Filter struct {
// contains filtered or unexported fields
}
Filter is a processor wrapper that filter table WAL events based on the configured table include/exclude lists.
type Option ¶
type Option func(*Filter)
func WithDefaultIncludeTables ¶
WithDefaultIncludeTables will use the tables on input as default include table list or add them to the configured one if provided. If the filter has an exclude table list configured, the default include table list won't apply, since only one can be provided.
func WithLogger ¶
Click to show internal directories.
Click to hide internal directories.