Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCDCIteratorIsStopped = errors.New("CDC iterator is stopped")
View Source
var ErrSnapshotIteratorIsStopped = errors.New("snapshot iterator is stopped")
View Source
var ErrUnsupportedIterator = errors.New("unsupported iterator")
Functions ¶
This section is empty.
Types ¶
type CDCIterator ¶
type CDCIterator struct {
// contains filtered or unexported fields
}
func NewCDCIterator ¶
func (*CDCIterator) Stop ¶
func (w *CDCIterator) Stop()
type CombinedIterator ¶
type CombinedIterator struct {
// contains filtered or unexported fields
}
func NewCombinedIterator ¶
func (*CombinedIterator) Stop ¶
func (c *CombinedIterator) Stop()
type Iterator ¶
type Iterator interface { // HasNext indicates whether there is new opencdc.Record available (`true`) or not (`false`) HasNext(ctx context.Context) bool // Next returns new opencdc.Record while reading the container or error when operation failed Next(ctx context.Context) (opencdc.Record, error) // Stop informs the iterator to stop processing new records. // All currently ongoing operations should be gracefully shut down. Stop() }
type SnapshotIterator ¶
type SnapshotIterator struct {
// contains filtered or unexported fields
}
func NewSnapshotIterator ¶
func (*SnapshotIterator) Stop ¶
func (w *SnapshotIterator) Stop()
Click to show internal directories.
Click to hide internal directories.