Atributos
{
  "id": "3757ae50-13f9-4ec8-ab04-d8e232a9a04d",
  "created_at": "2024-11-21 06:36:30 UTC",
  "updated_at": "2024-11-21 06:36:36 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 06:36:30 UTC",
  "discarded_at": "2024-11-21 06:36:36 UTC",
  "finished_at": "2024-11-21 06:36:36 UTC",
  "jobs_finished_at": "2024-11-21 06:36:36 UTC",
  "properties": {
    "foo": "bar"
  }
}
Tarefas de Callback
Tarefas
Fila
Prioridade
Tentativas
Fila
default
Prioridade
0
Tentativas
1
Concluído com sucesso
{
  "job_id": "448d11df-c963-40ad-a501-476fbda77bec",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    {
      "_aj_globalid": "gid://test-app/GoodJob::Batch/3757ae50-13f9-4ec8-ab04-d8e232a9a04d"
    },
    {
      "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-21T06:36:36.793566825Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "448d11df-c963-40ad-a501-476fbda77bec",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 06:36:36 UTC",
    "performed_at": "2024-11-21 06:36:36 UTC",
    "finished_at": "2024-11-21 06:36:36 UTC",
    "error": null,
    "created_at": "2024-11-21 06:36:36 UTC",
    "updated_at": "2024-11-21 06:36:36 UTC",
    "active_job_id": "448d11df-c963-40ad-a501-476fbda77bec",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": null,
    "batch_callback_id": "3757ae50-13f9-4ec8-ab04-d8e232a9a04d",
    "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
3
{
  "job_id": "4fa43f03-fe2d-48fd-821c-ad4111d03b00",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "dead"
  ],
  "job_class": "ExampleJob",
  "executions": 2,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T06:36:33.190723203Z",
  "scheduled_at": "2024-11-21T06:36:36.616950286Z",
  "provider_job_id": "4fa43f03-fe2d-48fd-821c-ad4111d03b00",
  "exception_executions": {
    "[ExampleJob::DeadError]": 2
  },
  "_good_job": {
    "id": "4fa43f03-fe2d-48fd-821c-ad4111d03b00",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 06:36:36 UTC",
    "performed_at": "2024-11-21 06:36:36 UTC",
    "finished_at": "2024-11-21 06:36:36 UTC",
    "error": "ExampleJob::DeadError: ExampleJob::DeadError",
    "created_at": "2024-11-21 06:36:33 UTC",
    "updated_at": "2024-11-21 06:36:36 UTC",
    "active_job_id": "4fa43f03-fe2d-48fd-821c-ad4111d03b00",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "3757ae50-13f9-4ec8-ab04-d8e232a9a04d",
    "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
3
{
  "job_id": "8976d005-1052-46c9-8319-d48824efed59",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "dead"
  ],
  "job_class": "ExampleJob",
  "executions": 2,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T06:36:33.532481367Z",
  "scheduled_at": "2024-11-21T06:36:36.761787268Z",
  "provider_job_id": "8976d005-1052-46c9-8319-d48824efed59",
  "exception_executions": {
    "[ExampleJob::DeadError]": 2
  },
  "_good_job": {
    "id": "8976d005-1052-46c9-8319-d48824efed59",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 06:36:36 UTC",
    "performed_at": "2024-11-21 06:36:36 UTC",
    "finished_at": "2024-11-21 06:36:36 UTC",
    "error": "ExampleJob::DeadError: ExampleJob::DeadError",
    "created_at": "2024-11-21 06:36:33 UTC",
    "updated_at": "2024-11-21 06:36:36 UTC",
    "active_job_id": "8976d005-1052-46c9-8319-d48824efed59",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "3757ae50-13f9-4ec8-ab04-d8e232a9a04d",
    "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": "945f3c26-8554-4d1b-a0b2-8723c6031957",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "success"
  ],
  "job_class": "ExampleJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T06:36:30.055756832Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "945f3c26-8554-4d1b-a0b2-8723c6031957",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 06:36:30 UTC",
    "performed_at": "2024-11-21 06:36:30 UTC",
    "finished_at": "2024-11-21 06:36:30 UTC",
    "error": null,
    "created_at": "2024-11-21 06:36:30 UTC",
    "updated_at": "2024-11-21 06:36:30 UTC",
    "active_job_id": "945f3c26-8554-4d1b-a0b2-8723c6031957",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "3757ae50-13f9-4ec8-ab04-d8e232a9a04d",
    "batch_callback_id": null,
    "executions_count": 1,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}