Workshop 4 Starter Code
This folder contains the starter code for creating your first Temporal workflow and activity.
What's Provided
workflow/HelloWorkflow.kt
- Empty workflow interface with TODO commentsworkflow/HelloWorkflowImpl.kt
- Empty workflow implementation with TODO commentsactivity/GreetingActivity.kt
- Empty activity interface with TODO commentsactivity/GreetingActivityImpl.kt
- Empty activity implementation with TODO commentsconfig/TemporalConfig.kt
- Empty configuration with TODO commentsrunner/HelloWorkflowRunner.kt
- Empty runner with TODO comments
What You Need To Do
Follow the instructions in ../modules/lesson_4/workshop_4.md
to:
- Create the workflow interface and implementation
- Create the activity interface and implementation
- Configure Temporal to register your workflow and activity
- Create a runner to execute the workflow
- Test the complete flow
Expected Result
You should see output like:
โ
Temporal worker started successfully!
๐ Running HelloWorkflow...
Workflow result: Hello, Temporal Learner! Welcome to workflows!
And in the Temporal Web UI, you should see your workflow execution under the "Workflows" tab.