Component
core/ai-agent/dify-worker-beat
The Dify task scheduler — the Celery beat process that puts the platform's periodic work on the queue at its due time: dataset re-indexing sweeps, expired-file and orphaned-document cleanup, workspace usage rollups, and scheduled application runs. It reads the schedule from the platform's relational model in the PostgreSQL backend wired through the `backend` uses-socket and enqueues onto the Redis-compatible broker wired through `cache`, where the task worker picks the work up; it never runs a task itself. Exactly one instance runs — two schedulers on one queue would enqueue every periodic task twice — so it renders as a single-replica stateless worker. It serves no port and nothing connects to it, so it publishes no provides contract. By default it schedules nothing that reaches Dify's vendor: infra.telemetry_enabled turns on the daily usage event, and infra.marketplace_enabled the daily plugin upgrade check.
版本
来源
- 内容摘要
- sha256:1e5a2f6c33acbb14a36f7bdf5c8a6fb006b8e96ed688b271cc9624d8c54344a8
- 发布时间
- 2026-11-15T08:08:49Z
- 签名身份
- 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:48ad88f6bc7c078d13d7bd80293c2100eca7d4ba9682c64059e92b1965c1bd4e
此版本的引用
oci://hub.aggrega.ai/component/core/ai-agent/dify-worker-beat:1.1.0开发者参数
开发者在 Aggregate 中设置的值。
未声明开发者参数。
运维规格
运维人员按环境调整的基础设施规格。
| 名称 | 类型 | 默认值 | 必需 | 描述 |
|---|---|---|---|---|
| engine_version | string | 1.17.0 | 否 | Dify API container image tag. The API server, the task worker and this scheduler run the same image, so a Release moves all three together. |
| log_level | string (DEBUG | INFO | WARNING | ERROR | CRITICAL) | INFO | 否 | Log verbosity the scheduler emits. |
| telemetry_enabled | boolean | false | 否 | Lets the scheduler put Dify's anonymous daily usage event on the queue, which the task worker then sends to otel.dify.ai, falling back to otel.dify.cn. Unset or false, the event is never scheduled. Set it on the server and the task worker too. |
| marketplace_enabled | boolean | false | 否 | Lets the scheduler put Dify's plugin upgrade check on the queue every fifteen minutes; the task worker then fetches the plugin list from marketplace.dify.ai once a day for each workspace. Unset or false, the check is never scheduled. Set it on the server and the task worker too. |
| compute | object | — | 否 | — |
| overrides | object (open) | — | 否 | Provider-specific overrides. Accepts any nested structure. Each Recipe documents which keys it reads. |
输出契约
此组件通过 uses 拓扑向使用方发布的值。
未声明输出值。
uses 套接字
此组件用于建立连接的依赖套接字。通过某个套接字接入的每个连接,其目标都必须满足该套接字的标签选择器,且每个连接都可以在该套接字声明的槽位中携带附加项。必需槽位须由 Aggregate 或 Release 通过该套接字接入的每个连接来填充。
backend
- 选择器
- component.aggrega.ai/category=datastore
- 注入
- env
经由此套接字的每个连接可填充的槽位
| 槽位 | 选择器 | 必需 | 注入 | 敏感 | 描述 |
|---|---|---|---|---|---|
| credential | feature.aggrega.ai/kind=secret | 否 | env | 是 | Optional password the scheduler presents to the backend this connection reaches, shared with that backend. When attached, supplies the backend password via the credential subsystem; unattached, the Recipe uses the development literal `apppass`, which this catalog publishes, so every Release that leaves the slot unattached shares that password. |
cache
- 选择器
- component.aggrega.ai/category=datastore
- 注入
- env
经由此套接字的每个连接可填充的槽位
| 槽位 | 选择器 | 必需 | 注入 | 敏感 | 描述 |
|---|---|---|---|---|---|
| server_ca | feature.aggrega.ai/kind=secret | 否 | file | 是 | Optional authority the scheduler checks the cache's certificate against while the cache publishes protocol valkey-tls or redis-tls, where the image does not already trust the authority that signs it. Its Secret holds ca.crt. The Recipe mounts the whole Secret read-only and points the cache client and the task broker at the file. The build halts on a server_ca publishing no Secret name, and on one wired to a cache served without TLS. Fill it with core/referenced-secret. |
附加槽位
Feature 附加到此组件时所用的命名绑定点。槽位的选择器限定哪个 Feature 可以填充该槽位,其 inject 列表则指明 Feature 的内容可以如何交付。必需槽位必须在每个实例上完成绑定,可以通过实例上的附加,也可以通过其上层作用域的附加;敏感槽位则声明为用于处理机密内容。Feature 也可以以任何槽位都未声明的名称进行附加。
未声明附加槽位。
自注入允许列表
env
关系
与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。
使用
- 使用使用套接字 «backend»
component.aggrega.ai/category=datastore
附加槽位:credential
core/datastore/chroma v1.0.0 →core/datastore/cognee v1.0.0 →core/datastore/documentdb v1.0.0 →core/datastore/elasticsearch v1.0.0 →core/datastore/etcd v1.0.0 →core/datastore/ferretdb v1.0.0 →core/datastore/mariadb v1.0.0 →core/datastore/mariadb-operator v1.0.0 →core/datastore/memcached v1.0.0 →core/datastore/milvus v1.0.0 →core/datastore/mysql v1.0.0 →core/datastore/mysql-innodb-cluster v1.0.0 →core/datastore/mysql-operator v1.0.0 →core/datastore/opensearch v1.0.0 →core/datastore/pgvector v1.0.0 →core/datastore/postgres v1.0.0 →core/datastore/qdrant v1.0.0 →core/datastore/redis v1.0.0 →core/datastore/timescaledb v1.0.0 →core/datastore/valkey v1.0.0 →core/datastore/weaviate v1.0.0 → - 使用使用套接字 «cache»
component.aggrega.ai/category=datastore
附加槽位:server_ca
core/datastore/chroma v1.0.0 →core/datastore/cognee v1.0.0 →core/datastore/documentdb v1.0.0 →core/datastore/elasticsearch v1.0.0 →core/datastore/etcd v1.0.0 →core/datastore/ferretdb v1.0.0 →core/datastore/mariadb v1.0.0 →core/datastore/mariadb-operator v1.0.0 →core/datastore/memcached v1.0.0 →core/datastore/milvus v1.0.0 →core/datastore/mysql v1.0.0 →core/datastore/mysql-innodb-cluster v1.0.0 →core/datastore/mysql-operator v1.0.0 →core/datastore/opensearch v1.0.0 →core/datastore/pgvector v1.0.0 →core/datastore/postgres v1.0.0 →core/datastore/qdrant v1.0.0 →core/datastore/redis v1.0.0 →core/datastore/timescaledb v1.0.0 →core/datastore/valkey v1.0.0 →core/datastore/weaviate v1.0.0 →
被使用
使用套接字 «runner»
使用套接字 «api»
使用套接字 «runner»
使用套接字 «api»
使用套接字 «services»
使用套接字 «api»
使用套接字 «services»
使用套接字 «services»
使用套接字 «sandbox»
使用套接字 «plugin_daemon»
使用套接字 «ssrf_proxy»
使用套接字 «sandbox»
使用套接字 «plugin_daemon»
使用套接字 «ssrf_proxy»
使用套接字 «api»
使用套接字 «ssrf_proxy»
使用套接字 «api»
使用套接字 «api»
使用套接字 «sandbox»
使用套接字 «plugin_daemon»
使用套接字 «ssrf_proxy»
使用套接字 «sandbox»
使用套接字 «plugin_daemon»
使用套接字 «ssrf_proxy»
使用套接字 «target_agent»
使用套接字 «scrape_target»
适用于
适用于
适用于
实现
实现