blob: 2ce241483dc200b6265d2d021e4ecc26002a7019 [file] [view]
# Apache Fluss Examples
Self-contained, runnable examples for [Apache Fluss](https://fluss.apache.org/).
Each example lives in its own top-level directory with pinned runtime and dependency versions, explicit prerequisites, step-by-step run and verification instructions, and cleanup commands.
## Examples
| Example | Stack | What It Demonstrates |
| --- | --- | --- |
| [Multi-Window Group Aggregation with Flink](flink-multi-window-aggregation/README.md) (`flink-multi-window-aggregation/`) | Apache Flink 1.20.3, Apache Fluss 1.0.0, Fluss Flink 1.20 connector 1.0.0 | Offloading keyed multi-window `SUM` accumulation from Flink's `GroupAggregate` operator to the Fluss Aggregation Merge Engine, including signed-delta changelog translation, a Flink baseline path, an independent snapshot oracle, and checkpoint undo recovery across TaskManager `SIGKILL` restarts. |
Open an example directory and follow its `README.md` for prerequisites, setup, verification, and cleanup instructions.
## How Examples Are Organized
Each example is structured as an independent top-level directory rather than sharing a single global setup, so readers can try one scenario without configuring unrelated components. Every example directory provides:
- A `README.md` describing what the example demonstrates, its prerequisites, and how to verify the results
- Pinned versions for Apache Fluss, connectors, and any companion runtimes
- Self-contained setup, execution, and cleanup instructions
## Contributing an Example
To contribute a new example via pull request:
1. Place the example in its own top-level directory with a clear, descriptive name.
2. Keep the example self-contained with pinned dependency and runtime versions.
3. Include a `README.md` covering prerequisites, step-by-step run and verification instructions, and cleanup commands.
4. Add an entry for the example to the **Examples** table in this root `README.md` in the same pull request.
## Resources
- [Apache Fluss Website](https://fluss.apache.org/)
- [Apache Fluss GitHub Repository](https://github.com/apache/fluss)