v3io

package
v0.0.0-...-7b9bfbb Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetShardLagsMap

func GetShardLagsMap(ctx context.Context,
	accessKey string,
	logger logger.Logger,
	platformConfig *platformconfig.Config,
	info *StreamInfo,
	consumerGroups []string) (map[string]interface{}, error)

func GetSingleShardLagDetails

func GetSingleShardLagDetails(v3ioContext v3iodataplane.Context,
	streamPath,
	consumerGroup string,
	shardID int,
	dataPlaneInput *v3iodataplane.DataPlaneInput) (int, int, error)

func GetStreamsFromFunctions

func GetStreamsFromFunctions(functions []platform.Function) (map[string]restful.Attributes, error)

Types

type StreamInfo

type StreamInfo struct {
	ConsumerGroup string `json:"consumerGroup,omitempty"`
	ContainerName string `json:"containerName,omitempty"`
	StreamPath    string `json:"streamPath,omitempty"`
}

Jump to

Keyboard shortcuts

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