Skip to Content
ExamplesOverview

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 (default http://localhost:2900)
  • KALAMDB_ROOT_PASSWORD (default kalamdb123)
BASH
cd link/sdks/rustexport KALAMDB_SERVER_URL=http://localhost:2900export KALAMDB_ROOT_PASSWORD=kalamdb123

Example catalog

ExampleWhat you’ll learnDocs
QuickstartConnect, authenticate, run your first SQL queryQuickstart
File AttachmentsFILE upload, TableId, and download_bound_fileFile Attachments
Live InboxMaterialized live() row subscriptionsLive Inbox
Topic ConsumerPoll a topic, process records, commit offsetsTopic Consumer

Which example should I pick?

Install the crate in your own app: Setup & Quick Start.

Last updated on