Skip to content

Advanced

Components

Punctuator

The 'punctuator' component of the KSTD Excalidraw library
Punctuator is a callback interface in Kafka Streams that triggers periodic actions in processors, allowing time-based processing on 'wall clock time' or 'stream time'.
Use in combination with Processor API (process/processValues).

Partitioner

The 'partitioner' component of the KSTD Excalidraw library
Partitioner is responsible for determining which partition a record will be sent to based on its key, allowing control over how data is distributed across partitions in Kafka.
Use in combination with the repartition DSL operator.

Stateful

These additional indicators are provided for arbitrary use. You can use them as you see fit or helpful. You can find an example in the bonus step of the KSTD tutorial.

The 'stateful-1' component of the KSTD Excalidraw library
Stateful Indicator. Refers to operations in Kafka Streams that rely on maintaining state, such as joins, aggregations, or windowed computations.
The 'stateful-2' component of the KSTD Excalidraw library
Stateful Indicator (2). Alternative visual library component.

Repartitioned

These additional indicators are provided for arbitrary use. You can use them as you see fit or helpful. You can find an example in the bonus step of the KSTD tutorial.

The 'repartitioned-1' component of the KSTD Excalidraw library
Repartitioned Indicator. Refers to redistributing data across new partitions, often necessary when a key-changing operation like `selectKey()` is applied in Kafka Streams.
The 'repartitioned-2' component of the KSTD Excalidraw library
Repartitioned Indicator (2). Alternative visual library component.