Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InsertFunc ¶
InsertFunc represents a callback to handle processing a Message on the Sink.
type Sink ¶
type Sink struct {
// contains filtered or unexported fields
}
Sink represents a SQL sink processor.
type SinkFunc ¶
type SinkFunc func(*Sink)
SinkFunc represents a function that configures the Sink.
func WithBatchFrequency ¶
WithBatchFrequency configures the frequency to send a batch on the Sink.
func WithBatchMessages ¶
WithBatchMessages configures the number of messages to send in a batch on the Sink.
func WithBeginFn ¶
WithBeginFn sets the transaction start callback on the Sink.
func WithCommitFn ¶
WithCommitFn sets the transaction commit callback on the Sink.
Click to show internal directories.
Click to hide internal directories.