Component
core/compute/worker
A generic background-worker primitive. Its operational type is `worker` — long-running, stateless compute that pulls from queues or runs background loops with zero inbound application ports — and it adds two optional integer fields, `queue_depth_hint` and `concurrency`, to the shared base schema's documentation knobs. An Aggregate declares this for a component that consumes work rather than accepting inbound application traffic, which is what `server` is for. Declaring no `provides`, it publishes nothing across an edge. On a Kubernetes cluster it is a Deployment. In an AWS account with an ECS cluster and a VPC, terraform/worker-ecs and cloudformation/worker-ecs run it as an Amazon ECS service on Fargate. In a Google Cloud project with a VPC network, terraform/worker-cloud-run runs it as a Cloud Run worker pool; in an Azure subscription with a Container Apps environment, terraform/worker-container-apps as a container app with no ingress. The catalog pins no image, so nothing renders until the Release sets `infra.image`. The image is the Release's own code, so an edge from this component delivers what its `inject:` block dictates: `env` entries become variables everywhere, beside both values' default names, which the component's own `env` entries may replace and, while each is the default, no edge may dictate; `file` entries files on Kubernetes and Container Apps alone; and `arg` or any other mechanism is refused by name, as no realization renders a command line. A `core/secret-value` attachment's value is rendered in the clear on every realization; no realization delivers `core/referenced-secret` or `core/random-password` to it, and the helm realization refuses either by name.
Provenance
- Empreinte du contenu
- sha256:eaf961fd361445f4512b58fad46e497d53ac752d243406b9395ec8b3c8110bb3
- Publié
- 2026-11-10T10:10:20Z
- Identité de signature
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Signature
- Officielapplication/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:13aedbc915f892c29dda59a0edb42204121785a99b8bcf9817edaeef5420153b
Référence à cette version
oci://hub.aggrega.ai/component/core/compute/worker:1.0.0Paramètres du développeur
Valeurs que le développeur définit dans l’Aggregate.
Étend BaseComponents#/schemas/BaseComponentParameter
| Nom | Type | Valeur par défaut | Obligatoire | Description |
|---|---|---|---|---|
| queue_depth_hint | integer (min 0) | — | non | — |
| concurrency | integer (min 1) | — | non | — |
Dimensionnement de l’opérateur
Dimensionnement de l’infrastructure que l’opérateur ajuste pour chaque environnement.
| Nom | Type | Valeur par défaut | Obligatoire | Description |
|---|---|---|---|---|
| image | string | — | non | Container image running the worker loop. |
| replicas | integer (min 1) | 1 | non | Replica count, the number of tasks on Amazon ECS, of instances in a Cloud Run worker pool and of replicas on Container Apps, up to 300 there. Each replica pulls its own work, so raising it widens throughput rather than sharing one queue position. |
| compute | object | — | non | — |
| overrides | object (open) | — | non | Provider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads: the Amazon ECS realizations read the cluster, subnets, security groups and roles the service runs under, each under its target's own spelling (subnet_ids on terraform, Subnets on CloudFormation), the Cloud Run realization the project, region, VPC network and service account the worker pool runs in, the Container Apps realization the environment and resource group the app runs in and the identities and registry it pulls with, and the Kubernetes realization reads none of its keys. |
Contrat de sortie
Valeurs que ce composant publie vers les consommateurs via la topologie uses.
Aucune valeur de sortie déclarée.
Sockets uses
Les sockets de dépendance par lesquels ce composant se connecte. La cible de chaque connexion câblée via un socket doit satisfaire son sélecteur d’étiquettes, et chaque connexion peut porter une attache dans les emplacements que le socket déclare. Un emplacement obligatoire doit être rempli par chaque connexion que l’Aggregate ou la Release câble via le socket.
Aucun socket uses déclaré.
Emplacements d’attache
Points de liaison nommés auxquels une Feature s’attache à ce composant. Le sélecteur d’un emplacement restreint la Feature qui peut le remplir, et sa liste inject indique comment le matériel de la Feature peut être livré. Un emplacement obligatoire doit être lié sur chaque instance, par une attache sur l’instance ou à une portée supérieure, et un emplacement sensible est déclaré pour traiter du matériel secret. Une Feature peut aussi s’attacher sous un nom qu’aucun emplacement ne déclare.
Aucun emplacement d’attache déclaré.
Liste d’autorisation d’auto-injection
env
Relations
Arêtes typées vers et depuis d’autres entités publiées. Une référence sans cible publiée s’affiche comme une arête rompue plutôt que comme un lien.
Utilise
- $refétend le schéma (values)
BaseComponents#/schemas/BaseComponentParameter
Utilisé par
utilise le socket « scrape_target »
s’applique à
s’applique à
s’applique à
implémente
implémente
implémente
implémente
implémente