属性
{
  "id": "bcf316be-09a1-4869-80a2-9c5b95be13f3",
  "callback_priority": null,
  "callback_queue_name": null,
  "created_at": "2026-11-15 18:10:00 UTC",
  "description": "Example batch",
  "discarded_at": null,
  "enqueued_at": "2026-11-15 18:10:00 UTC",
  "finished_at": "2026-11-15 18:27:33 UTC",
  "jobs_finished_at": "2026-11-15 18:27:33 UTC",
  "on_discard": null,
  "on_finish": "ExampleJob::BatchJob::CallbackJob",
  "on_success": null,
  "properties": {
    "foo": "bar"
  },
  "updated_at": "2026-11-15 18:27:33 UTC"
}
回调任务
任务
队列
优先级
尝试次数
队列
default
优先级
0
尝试次数
1
已成功
{
  "job_id": "51f95c30-2ee0-4459-a972-7349c043403d",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    {
      "_aj_globalid": "gid://test-app/GoodJob::Batch/bcf316be-09a1-4869-80a2-9c5b95be13f3"
    },
    {
      "event": {
        "value": "finish",
        "_aj_serialized": "ActiveJob::Serializers::SymbolSerializer"
      },
      "_aj_symbol_keys": [
        "event"
      ]
    }
  ],
  "job_class": "ExampleJob::BatchJob::CallbackJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2026-11-15T18:27:33.885992950Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "51f95c30-2ee0-4459-a972-7349c043403d",
    "active_job_id": "51f95c30-2ee0-4459-a972-7349c043403d",
    "batch_callback_id": "bcf316be-09a1-4869-80a2-9c5b95be13f3",
    "batch_id": null,
    "concurrency_key": "ExampleJob::BatchJob::CallbackJob",
    "created_at": "2026-11-15 18:27:33 UTC",
    "cron_at": null,
    "cron_key": null,
    "error": null,
    "error_event": null,
    "executions_count": 1,
    "finished_at": "2026-11-15 18:27:33 UTC",
    "job_class": "ExampleJob::BatchJob::CallbackJob",
    "labels": null,
    "lock_type": null,
    "locked_at": null,
    "locked_by_id": null,
    "performed_at": "2026-11-15 18:27:33 UTC",
    "priority": 0,
    "queue_name": "default",
    "scheduled_at": "2026-11-15 18:27:33 UTC",
    "updated_at": "2026-11-15 18:27:33 UTC"
  }
}
批量任务
任务
队列
优先级
尝试次数
队列
default
优先级
0
尝试次数
6
已成功
{
  "job_id": "15961a3d-d184-48e2-bce5-cbbf714a47d2",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_five_times"
  ],
  "job_class": "ExampleJob",
  "executions": 5,
  "queue_name": "default",
  "enqueued_at": "2026-11-15T18:16:23.110976827Z",
  "scheduled_at": "2026-11-15T18:27:33.858709672Z",
  "provider_job_id": "15961a3d-d184-48e2-bce5-cbbf714a47d2",
  "exception_executions": {
    "[StandardError]": 5
  },
  "_good_job": {
    "id": "15961a3d-d184-48e2-bce5-cbbf714a47d2",
    "active_job_id": "15961a3d-d184-48e2-bce5-cbbf714a47d2",
    "batch_callback_id": null,
    "batch_id": "bcf316be-09a1-4869-80a2-9c5b95be13f3",
    "concurrency_key": "ExampleJob",
    "created_at": "2026-11-15 18:16:23 UTC",
    "cron_at": null,
    "cron_key": null,
    "error": null,
    "error_event": null,
    "executions_count": 6,
    "finished_at": "2026-11-15 18:27:33 UTC",
    "job_class": "ExampleJob",
    "labels": [
      "error_five_times"
    ],
    "lock_type": null,
    "locked_at": null,
    "locked_by_id": null,
    "performed_at": "2026-11-15 18:27:33 UTC",
    "priority": 0,
    "queue_name": "default",
    "scheduled_at": "2026-11-15 18:27:33 UTC",
    "updated_at": "2026-11-15 18:27:33 UTC"
  }
}
队列
default
优先级
0
尝试次数
6
已成功
{
  "job_id": "2f9b3635-0b34-44af-80d7-5a8b70bb860d",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_five_times"
  ],
  "job_class": "ExampleJob",
  "executions": 5,
  "queue_name": "default",
  "enqueued_at": "2026-11-15T18:16:21.816677360Z",
  "scheduled_at": "2026-11-15T18:27:02.319798993Z",
  "provider_job_id": "2f9b3635-0b34-44af-80d7-5a8b70bb860d",
  "exception_executions": {
    "[StandardError]": 5
  },
  "_good_job": {
    "id": "2f9b3635-0b34-44af-80d7-5a8b70bb860d",
    "active_job_id": "2f9b3635-0b34-44af-80d7-5a8b70bb860d",
    "batch_callback_id": null,
    "batch_id": "bcf316be-09a1-4869-80a2-9c5b95be13f3",
    "concurrency_key": "ExampleJob",
    "created_at": "2026-11-15 18:16:21 UTC",
    "cron_at": null,
    "cron_key": null,
    "error": null,
    "error_event": null,
    "executions_count": 6,
    "finished_at": "2026-11-15 18:27:02 UTC",
    "job_class": "ExampleJob",
    "labels": [
      "error_five_times"
    ],
    "lock_type": null,
    "locked_at": null,
    "locked_by_id": null,
    "performed_at": "2026-11-15 18:27:02 UTC",
    "priority": 0,
    "queue_name": "default",
    "scheduled_at": "2026-11-15 18:27:02 UTC",
    "updated_at": "2026-11-15 18:27:02 UTC"
  }
}
队列
default
优先级
0
尝试次数
3
已成功
{
  "job_id": "3e9a1587-2064-4467-b484-4fe13af2dfe9",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "slow"
  ],
  "job_class": "ExampleJob",
  "executions": 2,
  "queue_name": "default",
  "enqueued_at": "2026-11-15T18:10:04.113560021Z",
  "scheduled_at": "2026-11-15T18:10:23.453992840Z",
  "provider_job_id": "3e9a1587-2064-4467-b484-4fe13af2dfe9",
  "exception_executions": {
    "[StandardError]": 2
  },
  "_good_job": {
    "id": "3e9a1587-2064-4467-b484-4fe13af2dfe9",
    "active_job_id": "3e9a1587-2064-4467-b484-4fe13af2dfe9",
    "batch_callback_id": null,
    "batch_id": "bcf316be-09a1-4869-80a2-9c5b95be13f3",
    "concurrency_key": "ExampleJob",
    "created_at": "2026-11-15 18:10:04 UTC",
    "cron_at": null,
    "cron_key": null,
    "error": null,
    "error_event": null,
    "executions_count": 3,
    "finished_at": "2026-11-15 18:10:20 UTC",
    "job_class": "ExampleJob",
    "labels": [
      "slow"
    ],
    "lock_type": null,
    "locked_at": null,
    "locked_by_id": null,
    "performed_at": "2026-11-15 18:10:15 UTC",
    "priority": 0,
    "queue_name": "default",
    "scheduled_at": "2026-11-15 18:10:15 UTC",
    "updated_at": "2026-11-15 18:10:20 UTC"
  }
}