Атрибуты
{
  "id": "67dd22d6-3f61-47c8-839b-b504cf4852df",
  "created_at": "2024-11-21 10:07:32 UTC",
  "updated_at": "2024-11-21 10:07:38 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 10:07:32 UTC",
  "discarded_at": null,
  "finished_at": "2024-11-21 10:07:38 UTC",
  "jobs_finished_at": "2024-11-21 10:07:38 UTC",
  "properties": {
    "foo": "bar"
  }
}
Коллбеки
Задание
Очередь исполнения
Приоритет
Попытки
Очередь исполнения
default
Приоритет
0
Попытки
1
{
  "job_id": "7fa9ff7e-4bb3-45c4-963b-e84d3eb55279",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    {
      "_aj_globalid": "gid://test-app/GoodJob::Batch/67dd22d6-3f61-47c8-839b-b504cf4852df"
    },
    {
      "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-21T10:07:38.076556689Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "7fa9ff7e-4bb3-45c4-963b-e84d3eb55279",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 10:07:38 UTC",
    "performed_at": "2024-11-21 10:07:38 UTC",
    "finished_at": "2024-11-21 10:07:38 UTC",
    "error": null,
    "created_at": "2024-11-21 10:07:38 UTC",
    "updated_at": "2024-11-21 10:07:38 UTC",
    "active_job_id": "7fa9ff7e-4bb3-45c4-963b-e84d3eb55279",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": null,
    "batch_callback_id": "67dd22d6-3f61-47c8-839b-b504cf4852df",
    "executions_count": 1,
    "job_class": "ExampleJob::BatchJob::CallbackJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Группы заданий
Задание
Очередь исполнения
Приоритет
Попытки
Очередь исполнения
default
Приоритет
0
Попытки
2
{
  "job_id": "32b1bfa2-5066-45f4-a28d-ca1a1c735e9f",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_once"
  ],
  "job_class": "ExampleJob",
  "executions": 1,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T10:07:32.370801281Z",
  "scheduled_at": "2024-11-21T10:07:35.501638534Z",
  "provider_job_id": "32b1bfa2-5066-45f4-a28d-ca1a1c735e9f",
  "exception_executions": {
    "[StandardError]": 1
  },
  "_good_job": {
    "id": "32b1bfa2-5066-45f4-a28d-ca1a1c735e9f",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 10:07:35 UTC",
    "performed_at": "2024-11-21 10:07:36 UTC",
    "finished_at": "2024-11-21 10:07:36 UTC",
    "error": null,
    "created_at": "2024-11-21 10:07:32 UTC",
    "updated_at": "2024-11-21 10:07:36 UTC",
    "active_job_id": "32b1bfa2-5066-45f4-a28d-ca1a1c735e9f",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "67dd22d6-3f61-47c8-839b-b504cf4852df",
    "batch_callback_id": null,
    "executions_count": 2,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Очередь исполнения
default
Приоритет
0
Попытки
1
{
  "job_id": "bb810b2b-12a8-413f-9235-48050d5cf406",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "slow"
  ],
  "job_class": "ExampleJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T10:07:32.166928075Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "bb810b2b-12a8-413f-9235-48050d5cf406",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 10:07:32 UTC",
    "performed_at": "2024-11-21 10:07:32 UTC",
    "finished_at": "2024-11-21 10:07:37 UTC",
    "error": null,
    "created_at": "2024-11-21 10:07:32 UTC",
    "updated_at": "2024-11-21 10:07:37 UTC",
    "active_job_id": "bb810b2b-12a8-413f-9235-48050d5cf406",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "67dd22d6-3f61-47c8-839b-b504cf4852df",
    "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": "ae5306cf-dced-4aed-b394-640dc06877f3",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "slow"
  ],
  "job_class": "ExampleJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T10:07:32.166999636Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "ae5306cf-dced-4aed-b394-640dc06877f3",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 10:07:32 UTC",
    "performed_at": "2024-11-21 10:07:33 UTC",
    "finished_at": "2024-11-21 10:07:38 UTC",
    "error": null,
    "created_at": "2024-11-21 10:07:32 UTC",
    "updated_at": "2024-11-21 10:07:38 UTC",
    "active_job_id": "ae5306cf-dced-4aed-b394-640dc06877f3",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "67dd22d6-3f61-47c8-839b-b504cf4852df",
    "batch_callback_id": null,
    "executions_count": 1,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}