impl

package
v0.0.0-...-3ed587d Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileWatcher

func FileWatcher(watcher *fsnotify.Watcher, sideInputName string)

Types

type SimpleSource

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

SimpleSource is a simple source implementation.

func NewSimpleSource

func NewSimpleSource() *SimpleSource

func (*SimpleSource) Ack

func (s *SimpleSource) Ack(_ context.Context, request sourcesdk.AckRequest)

func (*SimpleSource) Partitions

func (s *SimpleSource) Partitions(_ context.Context) []int32

func (*SimpleSource) Pending

func (s *SimpleSource) Pending(_ context.Context) int64

func (*SimpleSource) Read

func (s *SimpleSource) Read(_ context.Context, readRequest sourcesdk.ReadRequest, messageCh chan<- sourcesdk.Message)

Jump to

Keyboard shortcuts

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