sources

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2024 License: Apache-2.0 Imports: 32 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

Directories

Path Synopsis
Package forward is used for creating a data forwarder for the source vertex.
Package forward is used for creating a data forwarder for the source vertex.
Package generator contains an implementation of an in-memory generator that generates payloads in json format.
Package generator contains an implementation of an in-memory generator that generates payloads in json format.
Package udsource implements user-defined source, enabling the platform to communicate with user-defined data sources through gRPC.
Package udsource implements user-defined source, enabling the platform to communicate with user-defined data sources through gRPC.

Jump to

Keyboard shortcuts

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