Atributos
{
  "id": "a97f3029-5517-4889-8b81-0f0faf667d90",
  "created_at": "2024-11-21 08:48:00 UTC",
  "updated_at": "2024-11-21 08:48:05 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:48:00 UTC",
  "discarded_at": null,
  "finished_at": "2024-11-21 08:48:05 UTC",
  "jobs_finished_at": "2024-11-21 08:48:05 UTC",
  "properties": {
    "foo": "bar"
  }
}
Tarefas de Callback
Tarefas
Fila
Prioridade
Tentativas
Fila
default
Prioridade
0
Tentativas
1
Concluído com sucesso
{
  "job_id": "61e5941d-ff36-4ec6-a0ad-0ffb4accfa05",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    {
      "_aj_globalid": "gid://test-app/GoodJob::Batch/a97f3029-5517-4889-8b81-0f0faf667d90"
    },
    {
      "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:48:05.369814056Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "61e5941d-ff36-4ec6-a0ad-0ffb4accfa05",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 08:48:05 UTC",
    "performed_at": "2024-11-21 08:48:05 UTC",
    "finished_at": "2024-11-21 08:48:05 UTC",
    "error": null,
    "created_at": "2024-11-21 08:48:05 UTC",
    "updated_at": "2024-11-21 08:48:05 UTC",
    "active_job_id": "61e5941d-ff36-4ec6-a0ad-0ffb4accfa05",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": null,
    "batch_callback_id": "a97f3029-5517-4889-8b81-0f0faf667d90",
    "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
1
Concluído com sucesso
{
  "job_id": "0c625982-483c-465f-8ceb-72eb17d76163",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "slow"
  ],
  "job_class": "ExampleJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T08:48:00.130404240Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "0c625982-483c-465f-8ceb-72eb17d76163",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 08:48:00 UTC",
    "performed_at": "2024-11-21 08:48:00 UTC",
    "finished_at": "2024-11-21 08:48:05 UTC",
    "error": null,
    "created_at": "2024-11-21 08:48:00 UTC",
    "updated_at": "2024-11-21 08:48:05 UTC",
    "active_job_id": "0c625982-483c-465f-8ceb-72eb17d76163",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "a97f3029-5517-4889-8b81-0f0faf667d90",
    "batch_callback_id": null,
    "executions_count": 1,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Fila
default
Prioridade
0
Tentativas
2
Concluído com sucesso
{
  "job_id": "56ed20ec-a485-4d92-911f-3ed0ef661ae9",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_once"
  ],
  "job_class": "ExampleJob",
  "executions": 1,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T08:48:00.258558749Z",
  "scheduled_at": "2024-11-21T08:48:03.330510853Z",
  "provider_job_id": "56ed20ec-a485-4d92-911f-3ed0ef661ae9",
  "exception_executions": {
    "[StandardError]": 1
  },
  "_good_job": {
    "id": "56ed20ec-a485-4d92-911f-3ed0ef661ae9",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 08:48:03 UTC",
    "performed_at": "2024-11-21 08:48:03 UTC",
    "finished_at": "2024-11-21 08:48:03 UTC",
    "error": null,
    "created_at": "2024-11-21 08:48:00 UTC",
    "updated_at": "2024-11-21 08:48:03 UTC",
    "active_job_id": "56ed20ec-a485-4d92-911f-3ed0ef661ae9",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "a97f3029-5517-4889-8b81-0f0faf667d90",
    "batch_callback_id": null,
    "executions_count": 2,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}
Fila
default
Prioridade
0
Tentativas
1
Concluído com sucesso
{
  "job_id": "d237b81c-f54b-4844-8cff-b93b9c71aaa0",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "success"
  ],
  "job_class": "ExampleJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T08:48:00.130255828Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "d237b81c-f54b-4844-8cff-b93b9c71aaa0",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 08:48:00 UTC",
    "performed_at": "2024-11-21 08:48:00 UTC",
    "finished_at": "2024-11-21 08:48:00 UTC",
    "error": null,
    "created_at": "2024-11-21 08:48:00 UTC",
    "updated_at": "2024-11-21 08:48:00 UTC",
    "active_job_id": "d237b81c-f54b-4844-8cff-b93b9c71aaa0",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "a97f3029-5517-4889-8b81-0f0faf667d90",
    "batch_callback_id": null,
    "executions_count": 1,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}