Skip to content

Latest commit

 

History

History

kotlin

Kotlin Example Catalog

Basics

  • Services - Durable Execution: Making code resilient to failures via automatic retries and recovery of previously finished actions.
  • Durable Building Blocks: Restate turns familiar programming constructs into recoverable, distributed building blocks. Discover what you can do with the SDK.
  • Virtual Objects: Stateful services with access to long-lasting, consistent K/V state.
  • Workflows: Durable sequences of steps that can be queried, signaled and awaited.

Use Cases and Patterns

  • Sagas: Preserve consistency by tracking undo actions and running them when code fails halfway through.

Integrations

Examples integrating Restate with other tools and frameworks:

  • AWS Lambda + CDK: Sample project deploying a Kotlin-based Restate service to AWS Lambda using the AWS Cloud Development Kit (CDK).

End-to-End Applications

Complete applications built with Restate:

  • Food Ordering App: A food delivery service (like DoorDash) that manages orders, restaurants, payments, and delivery drivers. The example mixes workflows (ordering) and stateful microservices (driver management), and uses Kafka as an event source for updates from delivery drivers.
  • Kotlin Multiplatform Todo App: Kotlin multiplatform example for a Todo app using Restate as backend.

Templates

Starter templates for new projects: