example

command
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Command example runs a self-contained, end-to-end kyu workflow that you can watch live on the web dashboard.

It registers realistic handlers (order placement, payment, inventory, shipping, notifications, analytics), enqueues several waves of orders plus a scheduled report and intentionally-failing jobs, and processes them with a small worker pool. Everything is deliberately slow so the lifecycle is easy to follow: pending -> running -> completed, failures retry with backoff, and exhausted jobs land in the dead letter queue.

By default it connects to the docker-compose stack (see docker-compose.yml) and uses its own queue ("kyu:demo") so it never competes with the compose app workers. Open the dashboard at localhost:8080 and watch it run.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL