bulk

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2025 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchItem

type BatchItem struct {
	Model mongodb.Model
	Bytes []byte
	Size  int
}

type Bulk

type Bulk struct {
	// contains filtered or unexported fields
}

func NewBulk

func NewBulk(cfg *config.Config, dcpCheckpointCommit func()) (*Bulk, error)

func (*Bulk) AddActions

func (b *Bulk) AddActions(
	ctx *models.ListenerContext,
	eventTime time.Time,
	actions []mongodb.Model,
	couchbaseCollectionName string,
)

func (*Bulk) Close

func (b *Bulk) Close()

func (*Bulk) StartBulk

func (b *Bulk) StartBulk()

Jump to

Keyboard shortcuts

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