sdkclient

package
v1.2.0-rc3 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	UDS                       = "unix"
	WinStartTime              = "x-numaflow-win-start-time"
	WinEndTime                = "x-numaflow-win-end-time"
	DefaultGRPCMaxMessageSize = 64 * 1024 * 1024
	GlobalReduceAddr          = "/var/run/numaflow/globalreduce.sock"

	// Socket configs
	MapAddr               = "/var/run/numaflow/map.sock"
	MapStreamAddr         = "/var/run/numaflow/mapstream.sock"
	ReduceAddr            = "/var/run/numaflow/reduce.sock"
	ReduceStreamAddr      = "/var/run/numaflow/reducestream.sock"
	SessionReduceAddr     = "/var/run/numaflow/sessionreduce.sock"
	SideInputAddr         = "/var/run/numaflow/sideinput.sock"
	SinkAddr              = "/var/run/numaflow/sink.sock"
	SourceAddr            = "/var/run/numaflow/source.sock"
	SourceTransformerAddr = "/var/run/numaflow/sourcetransform.sock"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Option added in v1.2.0

type Option func(*Options)

Option is the interface to apply Options.

func WithMaxMessageSize added in v1.2.0

func WithMaxMessageSize(size int) Option

WithMaxMessageSize sets the server max receive message size and the server max send message size to the given size.

func WithUdsSockAddr added in v1.2.0

func WithUdsSockAddr(addr string) Option

WithUdsSockAddr start the client with the given UDS sock addr. This is mainly used for testing purpose.

type Options added in v1.2.0

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

func DefaultOptions added in v1.2.0

func DefaultOptions(address string) *Options

DefaultOptions returns the default options.

func (*Options) MaxMessageSize added in v1.2.0

func (o *Options) MaxMessageSize() int

MaxMessageSize returns the max message size.

func (*Options) UdsSockAddr added in v1.2.0

func (o *Options) UdsSockAddr() string

UdsSockAddr returns the UDS sock addr.

Jump to

Keyboard shortcuts

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