Examples
Runnable Rust projects that ship with the KalamDB repository. Each example is a small Cargo crate you can run against a local server.
Repository: link/sdks/rust/examples/
Prerequisites
- Rust 1.92+
- KalamDB on port 2900
KALAMDB_SERVER_URL(defaulthttp://localhost:2900)KALAMDB_ROOT_PASSWORD(defaultkalamdb123)
Example catalog
| Example | What you’ll learn | Docs |
|---|---|---|
| Quickstart | Connect, authenticate, run your first SQL query | Quickstart |
| File Attachments | FILE upload, TableId, and download_bound_file | File Attachments |
| Live Inbox | Materialized live() row subscriptions | Live Inbox |
| Topic Consumer | Poll a topic, process records, commit offsets | Topic Consumer |
Which example should I pick?
- First time with the Rust SDK? Quickstart
- Working with FILE columns? File Attachments
- Building a live dashboard or service? Live Inbox
- Background worker on topics? Topic Consumer
Install the crate in your own app: Setup & Quick Start.
Last updated on