sources

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2023 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPartitionedBufferIdx added in v0.9.0

func GetPartitionedBufferIdx() func(toVertex string, toVertexPartitionCount int) int32

GetPartitionedBufferIdx returns a function that returns a partitioned buffer index based on the toVertex name and the partition count it distributes the messages evenly to the partitions of the toVertex based on the message count(round robin)

Types

type SourceProcessor

type SourceProcessor struct {
	ISBSvcType     dfv1.ISBSvcType
	VertexInstance *dfv1.VertexInstance
}

func (*SourceProcessor) Start

func (sp *SourceProcessor) Start(ctx context.Context) error

type Sourcer

type Sourcer interface {
	isb.BufferReader
	forward.StarterStopper
}

Sourcer interface provides an isb.BufferReader abstraction over the underlying data source. This is intended to be consumed by a connector like isb.forward

Directories

Path Synopsis
Package generator contains an implementation of a in memory generator that generates payloads in json format.
Package generator contains an implementation of a in memory generator that generates payloads in json format.

Jump to

Keyboard shortcuts

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