Атрибуты
{
  "id": "15e0ffc6-726d-4461-8961-48eba1184971",
  "created_at": "2024-11-21 08:38:00 UTC",
  "updated_at": "2024-11-21 08:55:35 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:38:00 UTC",
  "discarded_at": null,
  "finished_at": "2024-11-21 08:55:35 UTC",
  "jobs_finished_at": "2024-11-21 08:55:35 UTC",
  "properties": {
    "foo": "bar"
  }
}
Коллбеки
Задание
Очередь исполнения
Приоритет
Попытки
Очередь исполнения
default
Приоритет
0
Попытки
1
{
  "job_id": "82246ac3-5f09-433f-b0c0-fb63952071c9",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    {
      "_aj_globalid": "gid://test-app/GoodJob::Batch/15e0ffc6-726d-4461-8961-48eba1184971"
    },
    {
      "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:55:35.360231720Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "82246ac3-5f09-433f-b0c0-fb63952071c9",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 08:55:35 UTC",
    "performed_at": "2024-11-21 08:55:35 UTC",
    "finished_at": "2024-11-21 08:55:35 UTC",
    "error": null,
    "created_at": "2024-11-21 08:55:35 UTC",
    "updated_at": "2024-11-21 08:55:35 UTC",
    "active_job_id": "82246ac3-5f09-433f-b0c0-fb63952071c9",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": null,
    "batch_callback_id": "15e0ffc6-726d-4461-8961-48eba1184971",
    "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": "6bbb4c03-0791-4468-b162-bfed26887067",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_five_times"
  ],
  "job_class": "ExampleJob",
  "executions": 5,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T08:44:05.447810860Z",
  "scheduled_at": "2024-11-21T08:55:35.284301259Z",
  "provider_job_id": "6bbb4c03-0791-4468-b162-bfed26887067",
  "exception_executions": {
    "[StandardError]": 5
  },
  "_good_job": {
    "id": "6bbb4c03-0791-4468-b162-bfed26887067",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 08:55:35 UTC",
    "performed_at": "2024-11-21 08:55:35 UTC",
    "finished_at": "2024-11-21 08:55:35 UTC",
    "error": null,
    "created_at": "2024-11-21 08:44:05 UTC",
    "updated_at": "2024-11-21 08:55:35 UTC",
    "active_job_id": "6bbb4c03-0791-4468-b162-bfed26887067",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "15e0ffc6-726d-4461-8961-48eba1184971",
    "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": "8b7b7d18-5af1-43d4-836d-e07d3cd77fa7",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_five_times"
  ],
  "job_class": "ExampleJob",
  "executions": 5,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T08:44:20.977755907Z",
  "scheduled_at": "2024-11-21T08:54:59.775796081Z",
  "provider_job_id": "8b7b7d18-5af1-43d4-836d-e07d3cd77fa7",
  "exception_executions": {
    "[StandardError]": 5
  },
  "_good_job": {
    "id": "8b7b7d18-5af1-43d4-836d-e07d3cd77fa7",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 08:54:59 UTC",
    "performed_at": "2024-11-21 08:54:59 UTC",
    "finished_at": "2024-11-21 08:54:59 UTC",
    "error": null,
    "created_at": "2024-11-21 08:44:20 UTC",
    "updated_at": "2024-11-21 08:54:59 UTC",
    "active_job_id": "8b7b7d18-5af1-43d4-836d-e07d3cd77fa7",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "15e0ffc6-726d-4461-8961-48eba1184971",
    "batch_callback_id": null,
    "executions_count": 6,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Очередь исполнения
default
Приоритет
0
Попытки
1
{
  "job_id": "846fe6e5-69eb-489f-aadb-0052e1ee5a50",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "success"
  ],
  "job_class": "ExampleJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T08:38:00.100013107Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "846fe6e5-69eb-489f-aadb-0052e1ee5a50",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 08:38:00 UTC",
    "performed_at": "2024-11-21 08:38:00 UTC",
    "finished_at": "2024-11-21 08:38:00 UTC",
    "error": null,
    "created_at": "2024-11-21 08:38:00 UTC",
    "updated_at": "2024-11-21 08:38:00 UTC",
    "active_job_id": "846fe6e5-69eb-489f-aadb-0052e1ee5a50",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "15e0ffc6-726d-4461-8961-48eba1184971",
    "batch_callback_id": null,
    "executions_count": 1,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}