简体   繁体   English

节奏中断时的节奏工作流程

[英]cadence workflow in case of cadence outage

It is possible to run local activities that don't require a connection to the cadence server.可以运行不需要连接到cadence服务器的本地活动 Is there a proper way to run workflows locally, too, in case of a cadence outage?在节奏中断的情况下,是否也有在本地运行工作流的正确方法? I'm using the Go client.我正在使用 Go 客户端。

The service connection is required to make any progress in the workflow execution including scheduling activities.需要服务连接才能在工作流执行中取得任何进展,包括调度活动。

To run workflows locally you can use local version of the Cadence service.要在本地运行工作流,您可以使用本地版本的 Cadence 服务。 Such version can be easily installed through docker compose.这样的版本可以通过 docker compose 轻松安装。

If you need high availability setup you can use multi-cluster Cadence.如果您需要高可用性设置,您可以使用多集群 Cadence。 So a single cluster outage is not going to cause workflow execution outager.因此,单个集群中断不会导致工作流执行中断。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM