Атрибуты
{
  "id": "480119e1-8b69-4d00-8839-9c43f7310e03",
  "created_at": "2024-11-21 08:30:00 UTC",
  "updated_at": "2024-11-21 08:47:18 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:30:00 UTC",
  "discarded_at": null,
  "finished_at": "2024-11-21 08:47:18 UTC",
  "jobs_finished_at": "2024-11-21 08:47:18 UTC",
  "properties": {
    "foo": "bar"
  }
}
Коллбеки
Задание
Очередь исполнения
Приоритет
Попытки
Очередь исполнения
default
Приоритет
0
Попытки
1
{
  "job_id": "3eb1d7df-d4db-4fd4-8d88-709100907d3f",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    {
      "_aj_globalid": "gid://test-app/GoodJob::Batch/480119e1-8b69-4d00-8839-9c43f7310e03"
    },
    {
      "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:47:18.962244745Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "3eb1d7df-d4db-4fd4-8d88-709100907d3f",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 08:47:18 UTC",
    "performed_at": "2024-11-21 08:47:18 UTC",
    "finished_at": "2024-11-21 08:47:18 UTC",
    "error": null,
    "created_at": "2024-11-21 08:47:18 UTC",
    "updated_at": "2024-11-21 08:47:18 UTC",
    "active_job_id": "3eb1d7df-d4db-4fd4-8d88-709100907d3f",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": null,
    "batch_callback_id": "480119e1-8b69-4d00-8839-9c43f7310e03",
    "executions_count": 1,
    "job_class": "ExampleJob::BatchJob::CallbackJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Группы заданий
Задание
Очередь исполнения
Приоритет
Попытки
Очередь исполнения
default
Приоритет
0
Попытки
6
{
  "job_id": "1208a1b2-6fc2-4d76-aadd-6d6e2b566b30",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_five_times"
  ],
  "job_class": "ExampleJob",
  "executions": 5,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T08:36:46.824927222Z",
  "scheduled_at": "2024-11-21T08:47:18.936897068Z",
  "provider_job_id": "1208a1b2-6fc2-4d76-aadd-6d6e2b566b30",
  "exception_executions": {
    "[StandardError]": 5
  },
  "_good_job": {
    "id": "1208a1b2-6fc2-4d76-aadd-6d6e2b566b30",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 08:47:18 UTC",
    "performed_at": "2024-11-21 08:47:18 UTC",
    "finished_at": "2024-11-21 08:47:18 UTC",
    "error": null,
    "created_at": "2024-11-21 08:36:46 UTC",
    "updated_at": "2024-11-21 08:47:18 UTC",
    "active_job_id": "1208a1b2-6fc2-4d76-aadd-6d6e2b566b30",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "480119e1-8b69-4d00-8839-9c43f7310e03",
    "batch_callback_id": null,
    "executions_count": 6,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Очередь исполнения
default
Приоритет
0
Попытки
6
{
  "job_id": "b3179fe5-8c10-4737-aa0d-eb4e39cc713c",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_five_times"
  ],
  "job_class": "ExampleJob",
  "executions": 5,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T08:36:17.443767987Z",
  "scheduled_at": "2024-11-21T08:46:54.578903378Z",
  "provider_job_id": "b3179fe5-8c10-4737-aa0d-eb4e39cc713c",
  "exception_executions": {
    "[StandardError]": 5
  },
  "_good_job": {
    "id": "b3179fe5-8c10-4737-aa0d-eb4e39cc713c",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 08:46:54 UTC",
    "performed_at": "2024-11-21 08:46:54 UTC",
    "finished_at": "2024-11-21 08:46:54 UTC",
    "error": null,
    "created_at": "2024-11-21 08:36:17 UTC",
    "updated_at": "2024-11-21 08:46:54 UTC",
    "active_job_id": "b3179fe5-8c10-4737-aa0d-eb4e39cc713c",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "480119e1-8b69-4d00-8839-9c43f7310e03",
    "batch_callback_id": null,
    "executions_count": 6,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Очередь исполнения
default
Приоритет
0
Попытки
2
{
  "job_id": "a6ff5053-e86c-41d7-993c-bdf21fb02a2f",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_once"
  ],
  "job_class": "ExampleJob",
  "executions": 1,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T08:30:00.306596770Z",
  "scheduled_at": "2024-11-21T08:30:03.445533822Z",
  "provider_job_id": "a6ff5053-e86c-41d7-993c-bdf21fb02a2f",
  "exception_executions": {
    "[StandardError]": 1
  },
  "_good_job": {
    "id": "a6ff5053-e86c-41d7-993c-bdf21fb02a2f",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 08:30:03 UTC",
    "performed_at": "2024-11-21 08:30:03 UTC",
    "finished_at": "2024-11-21 08:30:03 UTC",
    "error": null,
    "created_at": "2024-11-21 08:30:00 UTC",
    "updated_at": "2024-11-21 08:30:03 UTC",
    "active_job_id": "a6ff5053-e86c-41d7-993c-bdf21fb02a2f",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "480119e1-8b69-4d00-8839-9c43f7310e03",
    "batch_callback_id": null,
    "executions_count": 2,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}