generic

package
v0.11.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildNoOpWatermarkProgressorsFromBufferList added in v0.8.1

func BuildNoOpWatermarkProgressorsFromBufferList(toBuffers []string) (fetch.Fetcher, map[string]publish.Publisher)

func BuildNoOpWatermarkProgressorsFromBufferMap added in v0.5.5

func BuildNoOpWatermarkProgressorsFromBufferMap(bufferMap map[string][]isb.BufferWriter) (fetch.Fetcher, map[string]publish.Publisher)

Types

type NoOpWMProgressor

type NoOpWMProgressor struct {
}

NoOpWMProgressor is a no-op watermark progressor. As the name suggests, it does not do anything, no watermark is progressed. NoOpWMProgressor is used when watermarking is disabled.

func NewNoOpWMProgressor

func NewNoOpWMProgressor() *NoOpWMProgressor

NewNoOpWMProgressor returns NoOpWMProgressor.

func (NoOpWMProgressor) Close added in v0.6.3

func (n NoOpWMProgressor) Close() error

Close stops the no-op progressor.

func (NoOpWMProgressor) ComputeHeadIdleWMB added in v0.10.0

func (n NoOpWMProgressor) ComputeHeadIdleWMB(int32) wmb.WMB

ComputeHeadIdleWMB returns the default WMB.

func (NoOpWMProgressor) ComputeHeadWatermark added in v0.10.0

func (n NoOpWMProgressor) ComputeHeadWatermark(int32) wmb.Watermark

ComputeHeadWatermark returns the default head watermark.

func (NoOpWMProgressor) ComputeWatermark added in v0.10.0

func (n NoOpWMProgressor) ComputeWatermark(isb.Offset, int32) wmb.Watermark

func (NoOpWMProgressor) GetLatestWatermark

func (n NoOpWMProgressor) GetLatestWatermark() wmb.Watermark

GetLatestWatermark returns the default watermark as the latest watermark.

func (NoOpWMProgressor) PublishIdleWatermark added in v0.7.1

func (n NoOpWMProgressor) PublishIdleWatermark(wmb.Watermark, isb.Offset, int32)

PublishIdleWatermark does a no-op idle watermark publish.

func (NoOpWMProgressor) PublishWatermark

func (n NoOpWMProgressor) PublishWatermark(wmb.Watermark, isb.Offset, int32)

PublishWatermark does a no-op watermark publish.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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