Атрибуты
{
  "id": "dafb7bca-c4ec-4a55-9e94-0ee150082f48",
  "created_at": "2024-11-21 08:32:30 UTC",
  "updated_at": "2024-11-21 08:32:36 UTC",
  "description": "Example batch",
  "on_finish": "ExampleJob::BatchJob::CallbackJob",
  "on_success": null,
  "on_discard": null,
  "callback_queue_name": null,
  "callback_priority": null,
  "enqueued_at": "2024-11-21 08:32:30 UTC",
  "discarded_at": "2024-11-21 08:32:36 UTC",
  "finished_at": "2024-11-21 08:32:36 UTC",
  "jobs_finished_at": "2024-11-21 08:32:36 UTC",
  "properties": {
    "foo": "bar"
  }
}
Коллбеки
Задание
Очередь исполнения
Приоритет
Попытки
Очередь исполнения
default
Приоритет
0
Попытки
1
{
  "job_id": "5d8e6612-5923-4bd4-b0c7-29e58f2d4cb3",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    {
      "_aj_globalid": "gid://test-app/GoodJob::Batch/dafb7bca-c4ec-4a55-9e94-0ee150082f48"
    },
    {
      "event": {
        "value": "finish",
        "_aj_serialized": "ActiveJob::Serializers::SymbolSerializer"
      },
      "_aj_symbol_keys": [
        "event"
      ]
    }
  ],
  "job_class": "ExampleJob::BatchJob::CallbackJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T08:32:36.508188552Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "5d8e6612-5923-4bd4-b0c7-29e58f2d4cb3",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 08:32:36 UTC",
    "performed_at": "2024-11-21 08:32:36 UTC",
    "finished_at": "2024-11-21 08:32:36 UTC",
    "error": null,
    "created_at": "2024-11-21 08:32:36 UTC",
    "updated_at": "2024-11-21 08:32:36 UTC",
    "active_job_id": "5d8e6612-5923-4bd4-b0c7-29e58f2d4cb3",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": null,
    "batch_callback_id": "dafb7bca-c4ec-4a55-9e94-0ee150082f48",
    "executions_count": 1,
    "job_class": "ExampleJob::BatchJob::CallbackJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Группы заданий
Задание
Очередь исполнения
Приоритет
Попытки
Очередь исполнения
default
Приоритет
0
Попытки
3
{
  "job_id": "e9099ed0-6a80-47c1-9ea2-58d52351707c",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "dead"
  ],
  "job_class": "ExampleJob",
  "executions": 2,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T08:32:33.306271361Z",
  "scheduled_at": "2024-11-21T08:32:36.483084977Z",
  "provider_job_id": "e9099ed0-6a80-47c1-9ea2-58d52351707c",
  "exception_executions": {
    "[ExampleJob::DeadError]": 2
  },
  "_good_job": {
    "id": "e9099ed0-6a80-47c1-9ea2-58d52351707c",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 08:32:36 UTC",
    "performed_at": "2024-11-21 08:32:36 UTC",
    "finished_at": "2024-11-21 08:32:36 UTC",
    "error": "ExampleJob::DeadError: ExampleJob::DeadError",
    "created_at": "2024-11-21 08:32:33 UTC",
    "updated_at": "2024-11-21 08:32:36 UTC",
    "active_job_id": "e9099ed0-6a80-47c1-9ea2-58d52351707c",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "dafb7bca-c4ec-4a55-9e94-0ee150082f48",
    "batch_callback_id": null,
    "executions_count": 3,
    "job_class": "ExampleJob",
    "error_event": "retry_stopped",
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Очередь исполнения
default
Приоритет
0
Попытки
1
{
  "job_id": "3a6251a7-d835-4adf-b1b7-0d195498a02c",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "slow"
  ],
  "job_class": "ExampleJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T08:32:30.113575659Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "3a6251a7-d835-4adf-b1b7-0d195498a02c",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 08:32:30 UTC",
    "performed_at": "2024-11-21 08:32:30 UTC",
    "finished_at": "2024-11-21 08:32:35 UTC",
    "error": null,
    "created_at": "2024-11-21 08:32:30 UTC",
    "updated_at": "2024-11-21 08:32:35 UTC",
    "active_job_id": "3a6251a7-d835-4adf-b1b7-0d195498a02c",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "dafb7bca-c4ec-4a55-9e94-0ee150082f48",
    "batch_callback_id": null,
    "executions_count": 1,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Очередь исполнения
default
Приоритет
0
Попытки
1
{
  "job_id": "41a85df2-8e79-4e68-a8f8-b9947996c4f4",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "slow"
  ],
  "job_class": "ExampleJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T08:32:30.113480621Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "41a85df2-8e79-4e68-a8f8-b9947996c4f4",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 08:32:30 UTC",
    "performed_at": "2024-11-21 08:32:30 UTC",
    "finished_at": "2024-11-21 08:32:35 UTC",
    "error": null,
    "created_at": "2024-11-21 08:32:30 UTC",
    "updated_at": "2024-11-21 08:32:35 UTC",
    "active_job_id": "41a85df2-8e79-4e68-a8f8-b9947996c4f4",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "dafb7bca-c4ec-4a55-9e94-0ee150082f48",
    "batch_callback_id": null,
    "executions_count": 1,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}