Atributos
{
  "id": "6c65e6d7-878a-4892-8397-ce4870c7400f",
  "created_at": "2025-07-05 15:54:30 UTC",
  "updated_at": "2025-07-05 16:12:02 UTC",
  "description": "Example batch",
  "properties": {
    "foo": "bar"
  },
  "on_finish": "ExampleJob::BatchJob::CallbackJob",
  "on_success": null,
  "on_discard": null,
  "callback_queue_name": null,
  "callback_priority": null,
  "enqueued_at": "2025-07-05 15:54:30 UTC",
  "discarded_at": null,
  "finished_at": "2025-07-05 16:12:02 UTC",
  "jobs_finished_at": "2025-07-05 16:12:02 UTC"
}
Tarefas de Callback
Tarefas
Fila
Prioridade
Rótulos
Tentativas
Fila
default
Prioridade
0
Rótulos
Tentativas
1
Concluído com sucesso
{
  "job_id": "29edc342-64f7-47c3-8435-8a0279a1824d",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    {
      "_aj_globalid": "gid://test-app/GoodJob::Batch/6c65e6d7-878a-4892-8397-ce4870c7400f"
    },
    {
      "event": {
        "value": "finish",
        "_aj_serialized": "ActiveJob::Serializers::SymbolSerializer"
      },
      "_aj_symbol_keys": [
        "event"
      ]
    }
  ],
  "job_class": "ExampleJob::BatchJob::CallbackJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2025-07-05T16:12:02.133466276Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "29edc342-64f7-47c3-8435-8a0279a1824d",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2025-07-05 16:12:02 UTC",
    "performed_at": "2025-07-05 16:12:02 UTC",
    "finished_at": "2025-07-05 16:12:02 UTC",
    "error": null,
    "created_at": "2025-07-05 16:12:02 UTC",
    "updated_at": "2025-07-05 16:12:02 UTC",
    "active_job_id": "29edc342-64f7-47c3-8435-8a0279a1824d",
    "concurrency_key": "ExampleJob::BatchJob::CallbackJob",
    "cron_key": null,
    "cron_at": null,
    "batch_id": null,
    "batch_callback_id": "6c65e6d7-878a-4892-8397-ce4870c7400f",
    "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
Rótulos
Tentativas
Fila
default
Prioridade
0
Rótulos
slow
Tentativas
1
Concluído com sucesso
{
  "job_id": "3781d552-045d-40f2-9974-8d82f332c164",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "slow"
  ],
  "job_class": "ExampleJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2025-07-05T15:54:30.036629980Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "3781d552-045d-40f2-9974-8d82f332c164",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2025-07-05 15:54:30 UTC",
    "performed_at": "2025-07-05 15:54:30 UTC",
    "finished_at": "2025-07-05 15:54:35 UTC",
    "error": null,
    "created_at": "2025-07-05 15:54:30 UTC",
    "updated_at": "2025-07-05 15:54:35 UTC",
    "active_job_id": "3781d552-045d-40f2-9974-8d82f332c164",
    "concurrency_key": "ExampleJob",
    "cron_key": null,
    "cron_at": null,
    "batch_id": "6c65e6d7-878a-4892-8397-ce4870c7400f",
    "batch_callback_id": null,
    "executions_count": 1,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": [
      "slow"
    ],
    "locked_by_id": null,
    "locked_at": null
  }
}
Fila
default
Prioridade
0
Rótulos
error_once
Tentativas
2
Concluído com sucesso
{
  "job_id": "c6d9b034-e968-4cd0-901a-fa8472175331",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_once"
  ],
  "job_class": "ExampleJob",
  "executions": 1,
  "queue_name": "default",
  "enqueued_at": "2025-07-05T15:54:30.074477941Z",
  "scheduled_at": "2025-07-05T15:54:33.088134123Z",
  "provider_job_id": "c6d9b034-e968-4cd0-901a-fa8472175331",
  "exception_executions": {
    "[StandardError]": 1
  },
  "_good_job": {
    "id": "c6d9b034-e968-4cd0-901a-fa8472175331",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2025-07-05 15:54:33 UTC",
    "performed_at": "2025-07-05 15:54:33 UTC",
    "finished_at": "2025-07-05 15:54:33 UTC",
    "error": null,
    "created_at": "2025-07-05 15:54:30 UTC",
    "updated_at": "2025-07-05 15:54:33 UTC",
    "active_job_id": "c6d9b034-e968-4cd0-901a-fa8472175331",
    "concurrency_key": "ExampleJob",
    "cron_key": null,
    "cron_at": null,
    "batch_id": "6c65e6d7-878a-4892-8397-ce4870c7400f",
    "batch_callback_id": null,
    "executions_count": 2,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": [
      "error_once"
    ],
    "locked_by_id": null,
    "locked_at": null
  }
}
Fila
default
Prioridade
0
Rótulos
error_five_times
Tentativas
6
Concluído com sucesso
{
  "job_id": "706d3808-a919-4a7a-9154-28994809cd65",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_five_times"
  ],
  "job_class": "ExampleJob",
  "executions": 5,
  "queue_name": "default",
  "enqueued_at": "2025-07-05T16:01:04.162669425Z",
  "scheduled_at": "2025-07-05T16:12:02.059747040Z",
  "provider_job_id": "706d3808-a919-4a7a-9154-28994809cd65",
  "exception_executions": {
    "[StandardError]": 5
  },
  "_good_job": {
    "id": "706d3808-a919-4a7a-9154-28994809cd65",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2025-07-05 16:12:02 UTC",
    "performed_at": "2025-07-05 16:12:02 UTC",
    "finished_at": "2025-07-05 16:12:02 UTC",
    "error": null,
    "created_at": "2025-07-05 16:01:04 UTC",
    "updated_at": "2025-07-05 16:12:02 UTC",
    "active_job_id": "706d3808-a919-4a7a-9154-28994809cd65",
    "concurrency_key": "ExampleJob",
    "cron_key": null,
    "cron_at": null,
    "batch_id": "6c65e6d7-878a-4892-8397-ce4870c7400f",
    "batch_callback_id": null,
    "executions_count": 6,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": [
      "error_five_times"
    ],
    "locked_by_id": null,
    "locked_at": null
  }
}