applier

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplySourceTransformFunc

type ApplySourceTransformFunc func(ctx context.Context, messages []*isb.ReadMessage) ([]isb.ReadWriteMessagePair, error)

ApplySourceTransformFunc is a function type that implements SourceTransformApplier interface.

func (ApplySourceTransformFunc) ApplyTransform

func (f ApplySourceTransformFunc) ApplyTransform(ctx context.Context, messages []*isb.ReadMessage) ([]isb.ReadWriteMessagePair, error)

ApplyTransform implements SourceTransformApplier interface.

type SourceTransformApplier

type SourceTransformApplier interface {
	ApplyTransform(ctx context.Context, messages []*isb.ReadMessage) ([]isb.ReadWriteMessagePair, error)
}

SourceTransformApplier applies the source transform on the read message and gives back a new message. Any UserError will be retried here, while InternalErr can be returned and could be retried by the callee.

Jump to

Keyboard shortcuts

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