uber-go / cadence-client

Framework for authoring workflows and activities running on top of the Cadence orchestration engine.

Home Page:https://cadenceworkflow.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Activity auto heartbeat

longquanzheng opened this issue · comments

Is your feature request related to a problem? Please describe.
Most people want to heartbeat their activities when the workers are still alive. So that when hosts going down the activities can be retried. Currently it requires users to implement heartbeat which is tedious to do.

This will be more useful than graceful shutdown feature: graceful shutdown doesn't guarantee to work as expected because when a host going down, it probably cannot wait too long. Sometimes it's just crash within a second.

#818

Proposed Solution
Provide an option to automatically sending heartbeat for activities.

Additional context
NA