service

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package service is built for querying metadata and to expose it over daemon service.

Package service is built for querying metadata and to expose it over daemon service.

Index

Constants

View Source
const (
	PipelineStatusOK      = "OK"
	PipelineStatusError   = "Error"
	PipelineStatusUnknown = "Unknown"
)

Variables

This section is empty.

Functions

func BuildUXEdgeWatermarkFetchers added in v0.10.0

func BuildUXEdgeWatermarkFetchers(ctx context.Context, pipeline *v1alpha1.Pipeline, wmStores map[v1alpha1.Edge][]store.WatermarkStore) (map[v1alpha1.Edge][]fetch.HeadFetcher, error)

BuildUXEdgeWatermarkFetchers returns a map of the watermark fetchers, where key is the buffer name, value is a list of fetchers to the buffers.

func BuildWatermarkStores added in v0.10.0

func BuildWatermarkStores(ctx context.Context, pipeline *v1alpha1.Pipeline, isbsvcClient isbsvc.ISBService) (map[v1alpha1.Edge][]store.WatermarkStore, error)

BuildWatermarkStores returns a map of watermark stores per edge.

func NewPipelineMetadataQuery added in v0.5.4

func NewPipelineMetadataQuery(
	isbSvcClient isbsvc.ISBService,
	pipeline *v1alpha1.Pipeline,
	wmFetchers map[v1alpha1.Edge][]fetch.HeadFetcher,
	rater rater.Ratable) (*pipelineMetadataQuery, error)

NewPipelineMetadataQuery returns a new instance of pipelineMetadataQuery

Types

This section is empty.

Directories

Path Synopsis
Package rater provides the functionality to calculate the processing rate of each vertex partition.
Package rater provides the functionality to calculate the processing rate of each vertex partition.

Jump to

Keyboard shortcuts

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