v3iostream

package
v1.14.2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: Apache-2.0 Imports: 22 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	trigger.Configuration
	ConsumerGroup                   string
	ContainerName                   string
	StreamPath                      string
	NumTransportWorkers             int
	WorkerAllocationMode            partitionworker.AllocationMode
	SeekTo                          string
	ReadBatchSize                   int
	SessionTimeout                  string
	HeartbeatInterval               string
	SequenceNumberCommitInterval    string
	SequenceNumberShardWaitInterval string
	RecordBatchSizeChan             int
	AckWindowSize                   uint64
	LogLevel                        int

	// backwards compatibility
	PollingIntervalMs int
	// contains filtered or unexported fields
}

func NewConfiguration

func NewConfiguration(id string, triggerConfiguration *functionconfig.Trigger,
	runtimeConfiguration *runtime.Configuration,
	logger logger.Logger) (*Configuration, error)

type Event

type Event struct {
	nuclio.AbstractEvent

	StreamPath string
	// contains filtered or unexported fields
}

func (*Event) GetBody

func (e *Event) GetBody() []byte

func (*Event) GetOffset

func (e *Event) GetOffset() int

func (*Event) GetShardID

func (e *Event) GetShardID() int

func (*Event) GetSize

func (e *Event) GetSize() int

func (*Event) GetTimestamp

func (e *Event) GetTimestamp() time.Time

func (*Event) GetTopic

func (e *Event) GetTopic() string

Jump to

Keyboard shortcuts

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