本頁面由機器翻譯。閱讀英文原文。

Component

core/ai-pipeline/temporal

Temporal, a durable-execution engine. A multi-step job is written as ordinary program code against one of the project's client libraries; the engine records every step's outcome as an event and hands the next piece of work to a worker the application itself deploys. Because the run is a replayable event history rather than a position in a process, a worker that crashes mid-job is replaced and the job resumes where it stopped, and a step that fails is retried on the policy the code declared. That division is what separates this from a scheduler: the engine owns the run's history and its timers, while the application owns the code each step executes. It keeps none of its own durable state. A relational datastore holds the event histories and a second database on that same connection holds the visibility index the console and the list APIs read, so the store is wired as a topology edge to a datastore component the Aggregate already declares rather than bundled inside this one. The engine is reached over gRPC on the frontend service, which is the address the provides contract publishes; a browser console is deployed alongside it. Realized on Kubernetes through a Helm Recipe that sources the project's own chart. It has no standalone local-container form, so no Compose Recipe is provided. Each of the engine's services serves its own metrics, in pods of its own, so the Recipe publishes the pod labels selecting every one of them, the name of their metrics port and the path, for a scraper that discovers those pods directly.

出處

官方由本目錄認可為官方發布者的簽署身分所簽署。
內容摘要
sha256:60d848e16a196199e572a931bf940dc5c539909ce68a5fb35ed51a0c51fa1881
發布時間
2026-11-10T10:09:45Z
簽署身分
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

簽章

  • 官方application/vnd.dev.sigstore.bundle.v0.3+json

    https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

    sha256:b73cbac98a2f203410f5c676e05c155fa82c0f89872211a0655912026fe5d7fa

此版本的參照

oci://hub.aggrega.ai/component/core/ai-pipeline/temporal:1.0.0

開發者參數

開發者在 Aggregate 中設定的值。

名稱型別預設必填描述
console_enabledbooleantrue否Deploy the browser console beside the engine. The console reads the visibility index to list and inspect runs; the engine serves its gRPC API with or without it, so turning it off removes a browser surface rather than a capability.
admin_tools_enabledbooleantrue否Deploy the administrative command-line image as a long-running pod an operator can exec into to inspect namespaces, describe a run, or apply a schema change. Turning it off removes that entry point; it serves no application traffic either way.

操作員資源規格

操作員依各環境調整的基礎架構資源規格。

名稱型別預設必填描述
portinteger (min 1, max 65535)7233否Port the frontend service serves the gRPC API on. This is the address workers and clients dial, and the one the provides contract publishes. Most operators should omit this and let the Recipe assign the default (7233).
console_portinteger (min 1, max 65535)8080否Port the browser console listens on. It carries no application traffic; it exists so the console can be reached separately from the gRPC API.
history_shardsinteger (min 1)512否How many shards the event history is partitioned across, which bounds how far the engine can scale out. It is fixed for the life of an installation — the engine cannot repartition an existing history, so raising it later requires a new installation. Size it for the load the installation is expected to reach rather than for its first day.
source_versionstring—否Source artifact version (Helm chart). Overrides the Recipe's default source version. Changing from default does not guarantee value mapping compatibility.
computeobject—否—
overridesobject (open)—否Provider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads.

輸出契約

此元件透過 uses 拓撲向使用端發布的值。

名稱型別預設必填描述
hoststring—是In-cluster DNS name of the Service fronting the engine's frontend. A worker or a client that starts a run points its connection target at this name together with `port`.
portinteger—是TCP port that frontend accepts client connections on. It follows the port an operator set in the Release, so a consumer reads it rather than assuming a default.
protocolstring—否How the published address is spoken to — `grpc`, so a consumer configures one of the project's client libraries rather than an HTTP client.
metrics_pod_selectorstring—否Kubernetes label selector matching the pods of every engine service, for a scraper that discovers those pods directly rather than scraping one address. Published beside `metrics_pod_port` and `metrics_path`.
metrics_pod_portstring—否Name of the container port on those pods that carries the metrics, `metrics`.
metrics_pathstring—否Path the metrics are served at on that port, `/metrics`.

Uses 插槽

此元件用來連線的相依插槽。經由插槽連接的每個連線,其目標都必須符合該插槽的標籤選擇器,且每個連線可在該插槽宣告的槽位中帶有附加項目。Aggregate 或 Release 經由該插槽連接的每個連線,都必須提供必填槽位。

metadata_store

選擇器
component.aggrega.ai/category=datastore
注入
env

經由此插槽的每個連線可填入的槽位

槽位選擇器必填注入敏感描述
credentialfeature.aggrega.ai/kind=secret否—是Password the engine authenticates to the relational datastore this connection reaches with. When attached, the Recipe points the engine at the produced Secret so the value never appears in the rendered manifest. Unattached, the engine is configured with no password, which suits a store reached without one and matches what the standard-library relational Recipes leave in place when nothing is attached to them.

附加槽位

Feature 附加到此元件的具名繫結點。槽位的選擇器限制哪個 Feature 可以填入該槽位,其注入清單則指明該 Feature 的內容可以如何傳遞。必填槽位必須在每個實例上繫結,方式是在該實例上或其上層範圍中附加項目;敏感槽位則宣告用於處理機密內容。Feature 也可以附加在沒有任何槽位宣告的名稱之下。

未宣告任何附加槽位。

自我注入允許清單

env

關係

與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。

使用

被使用於

Component 概念參考

Aggrega 目錄:元件、功能、配方,以及負責渲染它們的外掛程式的開放索引。

以共用的 Aggrega 設計系統建置。

隱私權