Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchWriter ¶
type BatchWriter struct {
// contains filtered or unexported fields
}
func (*BatchWriter) Write ¶
func (w *BatchWriter) Write(ctx context.Context, msgs <-chan message.WriteMessage) error
type Client ¶
type Client interface { MigrateTables(context.Context, message.WriteMigrateTables) error WriteTableBatch(ctx context.Context, name string, messages message.WriteInserts) error DeleteStale(context.Context, message.WriteDeleteStales) error DeleteRecord(context.Context, message.WriteDeleteRecords) error }
type IgnoreMigrateTables ¶
type IgnoreMigrateTables struct{}
func (IgnoreMigrateTables) MigrateTables ¶
func (IgnoreMigrateTables) MigrateTables(context.Context, message.WriteMigrateTables) error
type Option ¶
type Option func(*BatchWriter)
func WithBatchSize ¶
func WithBatchSizeBytes ¶
func WithBatchTimeout ¶
func WithLogger ¶
type UnimplementedDeleteRecord ¶ added in v4.14.0
type UnimplementedDeleteRecord struct{}
func (UnimplementedDeleteRecord) DeleteRecord ¶ added in v4.14.0
func (UnimplementedDeleteRecord) DeleteRecord(context.Context, message.WriteDeleteRecords) error
type UnimplementedDeleteStale ¶
type UnimplementedDeleteStale struct{}
func (UnimplementedDeleteStale) DeleteStale ¶
func (UnimplementedDeleteStale) DeleteStale(context.Context, message.WriteDeleteStales) error
Click to show internal directories.
Click to hide internal directories.