Workflows from Kafka
Build event handlers with complex control flow, loops, timers, and transactional guarantees:- Push-based delivery: Events delivered directly to handlers with zero consumer management
- Durable execution: Failed handlers are retried with exponential backoff until they succeed. Handlers replay previously completed steps and resume exactly where they left off.
- Parallel processing: Events for different keys process concurrently, like a queue per object key
- Timers and scheduling: Timers and delays that survive crashes and restarts for long-running workflows
Stateful Event Handlers
Maintain K/V state across events:- Persistent state: Store and retrieve state directly in handlers without external stores
- Built-in consistency: State operations are always consistent with execution
- Agents, actors, digital twins: Model stateful entities that react to events
When to Choose Restate
✅ Choose Restate when you need:- Kafka integration: Process Kafka events with zero consumer management
- Reliable processing: Automatic retry and recovery for failed event handlers
- Transactional processing: Execute side effects with durable execution guarantees
- Stateful event processing: Maintain state across events without external stores
- Event-driven workflows: Build complex flows with loops, timers, and conditions
Comparison with Other Solutions
Getting Started
Ready to build event processing systems with Restate? Here are your next steps:Quickstart
Set up Restate and process your first events
Kafka Quickstart
Follow the quickstart to implement your first durable event handler
Examples
Explore templates, patterns, and end-to-end applications