Atributos
{
  "id": "3298033f-dc16-426b-98a6-1f472e6b3b25",
  "created_at": "2024-11-21 10:19:30 UTC",
  "updated_at": "2024-11-21 10:36:41 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:19:30 UTC",
  "discarded_at": "2024-11-21 10:19:37 UTC",
  "finished_at": "2024-11-21 10:36:41 UTC",
  "jobs_finished_at": "2024-11-21 10:36:40 UTC",
  "properties": {
    "foo": "bar"
  }
}
Tarefas de Callback
Tarefas
Fila
Prioridade
Tentativas
Fila
default
Prioridade
0
Tentativas
1
Concluído com sucesso
{
  "job_id": "e8c7a404-f22c-4231-bab6-d49a14f6e81f",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    {
      "_aj_globalid": "gid://test-app/GoodJob::Batch/3298033f-dc16-426b-98a6-1f472e6b3b25"
    },
    {
      "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:36:40.910393180Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "e8c7a404-f22c-4231-bab6-d49a14f6e81f",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 10:36:40 UTC",
    "performed_at": "2024-11-21 10:36:41 UTC",
    "finished_at": "2024-11-21 10:36:41 UTC",
    "error": null,
    "created_at": "2024-11-21 10:36:40 UTC",
    "updated_at": "2024-11-21 10:36:41 UTC",
    "active_job_id": "e8c7a404-f22c-4231-bab6-d49a14f6e81f",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": null,
    "batch_callback_id": "3298033f-dc16-426b-98a6-1f472e6b3b25",
    "executions_count": 1,
    "job_class": "ExampleJob::BatchJob::CallbackJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Tarefas em Lote
Tarefas
Fila
Prioridade
Tentativas
Fila
default
Prioridade
0
Tentativas
6
Concluído com sucesso
{
  "job_id": "4e4d9376-b964-40e0-bca9-58a6966aa7e1",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_five_times"
  ],
  "job_class": "ExampleJob",
  "executions": 5,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T10:26:09.863110027Z",
  "scheduled_at": "2024-11-21T10:36:40.823415768Z",
  "provider_job_id": "4e4d9376-b964-40e0-bca9-58a6966aa7e1",
  "exception_executions": {
    "[StandardError]": 5
  },
  "_good_job": {
    "id": "4e4d9376-b964-40e0-bca9-58a6966aa7e1",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 10:36:40 UTC",
    "performed_at": "2024-11-21 10:36:40 UTC",
    "finished_at": "2024-11-21 10:36:40 UTC",
    "error": null,
    "created_at": "2024-11-21 10:26:09 UTC",
    "updated_at": "2024-11-21 10:36:40 UTC",
    "active_job_id": "4e4d9376-b964-40e0-bca9-58a6966aa7e1",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "3298033f-dc16-426b-98a6-1f472e6b3b25",
    "batch_callback_id": null,
    "executions_count": 6,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Fila
default
Prioridade
0
Tentativas
3
{
  "job_id": "072a5577-d7c0-4a1c-9b1f-33a24ff67f0e",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "dead"
  ],
  "job_class": "ExampleJob",
  "executions": 2,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T10:19:33.838219134Z",
  "scheduled_at": "2024-11-21T10:19:37.084312428Z",
  "provider_job_id": "072a5577-d7c0-4a1c-9b1f-33a24ff67f0e",
  "exception_executions": {
    "[ExampleJob::DeadError]": 2
  },
  "_good_job": {
    "id": "072a5577-d7c0-4a1c-9b1f-33a24ff67f0e",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 10:19:37 UTC",
    "performed_at": "2024-11-21 10:19:37 UTC",
    "finished_at": "2024-11-21 10:19:37 UTC",
    "error": "ExampleJob::DeadError: ExampleJob::DeadError",
    "created_at": "2024-11-21 10:19:33 UTC",
    "updated_at": "2024-11-21 10:19:37 UTC",
    "active_job_id": "072a5577-d7c0-4a1c-9b1f-33a24ff67f0e",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "3298033f-dc16-426b-98a6-1f472e6b3b25",
    "batch_callback_id": null,
    "executions_count": 3,
    "job_class": "ExampleJob",
    "error_event": "retry_stopped",
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Fila
default
Prioridade
0
Tentativas
1
Concluído com sucesso
{
  "job_id": "664650fa-1f2f-427a-b592-56b015914567",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "slow"
  ],
  "job_class": "ExampleJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T10:19:30.249919569Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "664650fa-1f2f-427a-b592-56b015914567",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 10:19:30 UTC",
    "performed_at": "2024-11-21 10:19:30 UTC",
    "finished_at": "2024-11-21 10:19:35 UTC",
    "error": null,
    "created_at": "2024-11-21 10:19:30 UTC",
    "updated_at": "2024-11-21 10:19:35 UTC",
    "active_job_id": "664650fa-1f2f-427a-b592-56b015914567",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "3298033f-dc16-426b-98a6-1f472e6b3b25",
    "batch_callback_id": null,
    "executions_count": 1,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}