Skip to main content

Dapr Workflow with Spring Boot

Build stateful, long-running, reliable workflows using the Dapr Workflow Spring Boot integration with Catalyst. The Dapr Workflow Spring Boot integration provides a powerful way to orchestrate complex business processes from within your Spring Boot applications.

Resources

Prerequisites:

Installation

Maven

Add the following dependency to your pom.xml:

<dependency>
<groupId>io.dapr.spring</groupId>
<artifactId>dapr-spring-boot-starter</artifactId>
<version>1.xx.x</version>
</dependency>

Gradle

Add the following dependency to your build.gradle:

dependencies {
implementation 'io.dapr.spring:dapr-spring-boot-starter:1.xx.x'
}

Core Application

Use the essential components of a Dapr Workflow application (Workflows and Activities) to build and run a workflow application.

Dapr Workflow Client

Connect to the Dapr Workflow API and start, get status, and manage workflow executions.

External Events

Wait for external input and send events to running workflows.

Control Workflow Progression

Interrupt a workflow execution with pause, resume, or terminate actions.

Getting Started

Catalyst Quickstart