Flinkspector: Taming the squirrel
summary
Flinkspector is a small testing framework for Apache Flink that builds reproducible event traces, synthesizes watermarks and timestamps, and runs jobs in a local cluster so non‑terminating and parallelized pipelines with windowing become testable. It provides an event-time input builder, incremental verifiers with triggers to stop tests, and Hamcrest-based matchers for fine-grained assertions, integrates with JUnit, ships on Maven, and aims to enable fast integration tests for CI/CD so streaming logic bugs surface during development rather than production.
AI-written summary · about
chapters (8)
- 0:00Introduction and context
- 2:16Challenges in testing Flink
- 5:55Initial testing approaches
- 9:40Introduction to Flink Spector
- 16:20Framework design and syntax
- 24:28Advanced assertions and execution
- 29:39Practical demonstration
- 32:12Conclusion and Q&A
related talks
22mDrSquirrel - A self-service diagnosis tool for Flink jobs
34mTesting Production Streaming Applications
30mA Debuggers Guide to Apache Flink Streaming Applications
16mFlink acceptance testing and state compatibility checking
40mInteractive Session - Live Code Contribution to Apache Flink
38mInteractive Session: Flink on Autopilot with Splunk
35mTouK Nussknacker – creating Flink jobs with GUI
41m0Flake - Reaching reliable non-flaky tests
