搜索

PythonReactSEOPDF
GitHub Skill

agentuity-cli-cloud-queue-publish

Publish a message to a queue. Requires authentication. Use for Agentuity cloud platform operations

agentuity☆ 4 仓库 Stars1 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Cloud Queue Publish

Publish a message to a queue

Prerequisites

  • Authenticated with agentuity auth login

Usage

agentuity cloud queue publish <queue_name> <payload> [options]

Arguments

Argument Type Required Description
<queue_name> string Yes -
<payload> string Yes -

Options

Option Type Required Default Description
--metadata string Yes - Message metadata as JSON
--partitionKey string Yes - Partition key for ordering
--idempotencyKey string Yes - Idempotency key to prevent duplicates
--ttl number Yes - Message TTL in seconds

Examples

Publish a JSON message:

bunx @agentuity/cli cloud queue publish my-queue '{"task":"process"}'

Publish with metadata:

bunx @agentuity/cli cloud queue publish my-queue '{"task":"process"}' --metadata '{"priority":"high"}'

Publish with 1h TTL:

bunx @agentuity/cli cloud queue publish my-queue "hello" --ttl 3600

Output

Returns JSON object:

{
  "id": "string",
  "queue_id": "string",
  "offset": "number",
  "payload": "unknown",
  "size": "number",
  "metadata": "unknown",
  "state": "string",
  "idempotency_key": "unknown",
  "partition_key": "unknown",
  "ttl_seconds": "unknown",
  "delivery_attempts": "number",
  "max_retries": "number",
  "published_at": "string",
  "expires_at": "unknown",
  "delivered_at": "unknown",
  "acknowledged_at": "unknown",
  "created_at": "string",
  "updated_at": "string"
}
Field Type Description
id string -
queue_id string -
offset number -
payload unknown -
size number -
metadata unknown -
state string -
idempotency_key unknown -
partition_key unknown -
ttl_seconds unknown -
delivery_attempts number -
max_retries number -
published_at string -
expires_at unknown -
delivered_at unknown -
acknowledged_at unknown -
created_at string -
updated_at string -

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-26
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!