How Apache Flink manages Kafka consumer offsets
Step by step: how the Flink Kafka source stores partition offsets in checkpoints, how barriers keep operator state consistent, and how offsets are restored after a failure.
Fabian Hueske4 min read
Step by step: how the Flink Kafka source stores partition offsets in checkpoints, how barriers keep operator state consistent, and how offsets are restored after a failure.
How to configure state time-to-live (TTL) in Apache Flink: when the TTL is reset, whether expired state is returned, and how expired state is cleaned up.
A practical guide to broadcast state in Apache Flink: broadcasting a pattern stream to all tasks and evaluating it on keyed user actions with KeyedBroadcastProcessFunction.