Skip to content

Commit

Permalink
chore: handle UpdateState workflow entity protocol message (#2222)
Browse files Browse the repository at this point in the history
  • Loading branch information
aludwiko authored Oct 4, 2024
1 parent 119e485 commit 1237ac5
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,11 @@ final class WorkflowImpl(system: ActorSystem, val services: Map[String, Workflow

case Empty =>
throw ProtocolException(init, "Workflow received empty/unknown message")

case _ =>
// ignore, UpdateState from the runtime and update this case when introducing replication to Kalix
// currently added to satisfy the compiler
Future.successful(WorkflowStreamOut(WorkflowStreamOut.Message.Empty))
}

(flow, workflowConfig)
Expand Down

0 comments on commit 1237ac5

Please sign in to comment.