Documentation ¶
Overview ¶
Package processor is the smallest processor entity for which the watermark will strictly monotonically increase.
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProcessorEntitier ¶
type ProcessorEntitier interface {
GetName() string
}
ProcessorEntitier defines what can be a processor. The Processor is the smallest unit where the watermark will monotonically increase.
func NewProcessorEntity ¶
func NewProcessorEntity(name string) ProcessorEntitier
NewProcessorEntity returns a new `ProcessorEntitier`.
type Watermark ¶
Watermark is the monotonically increasing watermark. It is tightly coupled with ProcessorEntitier as the processor is responsible for monotonically increasing Watermark for that processor. NOTE: today we support only second progression of watermark, we need to support millisecond too.
Click to show internal directories.
Click to hide internal directories.