Skip to content

Commit 27a0540

Browse files
committed
Add process key, make heartbeats repeatable field (#608)
<!-- Describe what has changed in this PR --> **What changed?** Add "process_key" to the worker host info. Make "worker_heartbeat" repeatable in "PollNexus" and "RecordHeartbeat" APIs. <!-- Tell your future self why have you made these changes --> **Why?** We decide to have a single Q per process. Thus we need a way to agree on task queue name, and for that we need this information to be: * available as a part of heartbeat * unique across at least namespace Process ID is not unique. Since we send all heartbeats at once - we make them repeated. <!-- Are there any breaking changes on binary or code level? --> **Breaking changes** Not yet.
1 parent c2ada76 commit 27a0540

File tree

5 files changed

+29
-13
lines changed

5 files changed

+29
-13
lines changed

temporalproto/openapi/openapiv2.go

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

temporalproto/openapi/openapiv3.go

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

worker/v1/message.pb.go

Lines changed: 19 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

workflowservice/v1/request_response.pb.go

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)