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.
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.
https://github.com/uber-go/cadence-client/issues/818
Proposed Solution Provide an option to automatically sending heartbeat for activities.
Additional context NA