Skip to Content
🚀 KalamDB v0.3.0-alpha2 is out — Learn more
SDK & ClientExamples & Use CasesOverview

Examples & Use Cases

This section focuses on implementation patterns you can ship, not just API snippets.

Included examples

Choosing the right pattern

  • Pick live SQL subscriptions when your UI needs row-level reactivity.
  • Pick topic consumers when you need queue semantics, retries, and explicit acknowledgments.
  • Combine both when you need backend processing plus realtime UI updates.

Production checklist

  • Keep auth mode explicit (basic, jwt, or none) and rotate tokens.
  • Persist sequence/checkpoint state for resumable subscription pipelines.
  • Separate user-facing subscription streams from worker consumer groups.
  • Keep graceful shutdown logic in workers (stop, await run loop, then disconnect).
Last updated on