Examples
End-to-end, runnable Java examples — each demonstrating a slice of FlexiQ's Java SDK in a realistic setting.
End-to-end, runnable Java examples — each demonstrating a slice of FlexiQ's Java SDK in a realistic setting.
Each example is a self-contained project you can copy, run, and adapt. They lean on the API reference — read that for the surface, come here for working code.
| Example | Demonstrates |
|---|---|
| Spring Boot service | REST API on the Spring starter that enqueues jobs, reports status, and cancels in flight |
| Notification service | Delayed scheduling, idempotency, priority, periodic tasks, batch enqueue |
| Web scraper | Retry backoff, named queues, middleware hooks, fan-out workflows |
| ETL data pipeline | A multi-stage DAG with error history, failure branches, and structural analysis |
| DAG workflows | Fan-out/fan-in, gates, conditions, sub-workflows, caching, canvas shortcuts |
| Saga — checkout | Compensating transactions with reverse-order rollback |
| Bulk emails | High-volume enqueueMany and Batcher with bounded worker concurrency |
| Predicate-gated jobs | Enqueue-time gates with allOf / anyOf / not and defer/skip decisions |
| Benchmark | Measuring enqueue, processing, and end-to-end latency and throughput |
Every snippet targets the standalone Java SDK — org.byteveda:flexiq, Java 17 —
with the Rust core embedded in the artifact. Pick the one closest to your
problem and start there.