Commit 27a0540
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- proto
- temporalproto/openapi
- worker/v1
- workflowservice/v1
5 files changed
+29
-13
lines changedLarge diffs are not rendered by default.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments