Atributos
{
  "id": "82407e2b-7567-4539-9102-11765c3bf32a",
  "created_at": "2024-11-21 10:15:30 UTC",
  "updated_at": "2024-11-21 10:15: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 10:15:30 UTC",
  "discarded_at": "2024-11-21 10:15:36 UTC",
  "finished_at": "2024-11-21 10:15:36 UTC",
  "jobs_finished_at": "2024-11-21 10:15:36 UTC",
  "properties": {
    "foo": "bar"
  }
}
Tarefas de Callback
Tarefas
Fila
Prioridade
Tentativas
Fila
default
Prioridade
0
Tentativas
1
Concluído com sucesso
{
  "job_id": "c3e6016f-a1a0-4920-b4b8-53fe8ffe1f53",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    {
      "_aj_globalid": "gid://test-app/GoodJob::Batch/82407e2b-7567-4539-9102-11765c3bf32a"
    },
    {
      "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:15:36.840839079Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "c3e6016f-a1a0-4920-b4b8-53fe8ffe1f53",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 10:15:36 UTC",
    "performed_at": "2024-11-21 10:15:36 UTC",
    "finished_at": "2024-11-21 10:15:36 UTC",
    "error": null,
    "created_at": "2024-11-21 10:15:36 UTC",
    "updated_at": "2024-11-21 10:15:36 UTC",
    "active_job_id": "c3e6016f-a1a0-4920-b4b8-53fe8ffe1f53",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": null,
    "batch_callback_id": "82407e2b-7567-4539-9102-11765c3bf32a",
    "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": "d907e1dd-a77e-4e61-87fe-107d45ee710f",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "dead"
  ],
  "job_class": "ExampleJob",
  "executions": 2,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T10:15:33.531756532Z",
  "scheduled_at": "2024-11-21T10:15:36.756788210Z",
  "provider_job_id": "d907e1dd-a77e-4e61-87fe-107d45ee710f",
  "exception_executions": {
    "[ExampleJob::DeadError]": 2
  },
  "_good_job": {
    "id": "d907e1dd-a77e-4e61-87fe-107d45ee710f",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 10:15:36 UTC",
    "performed_at": "2024-11-21 10:15:36 UTC",
    "finished_at": "2024-11-21 10:15:36 UTC",
    "error": "ExampleJob::DeadError: ExampleJob::DeadError",
    "created_at": "2024-11-21 10:15:33 UTC",
    "updated_at": "2024-11-21 10:15:36 UTC",
    "active_job_id": "d907e1dd-a77e-4e61-87fe-107d45ee710f",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "82407e2b-7567-4539-9102-11765c3bf32a",
    "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
2
Concluído com sucesso
{
  "job_id": "928f974e-97b4-4e99-99c0-0d077792f10e",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "error_once"
  ],
  "job_class": "ExampleJob",
  "executions": 1,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T10:15:30.133529978Z",
  "scheduled_at": "2024-11-21T10:15:33.225332499Z",
  "provider_job_id": "928f974e-97b4-4e99-99c0-0d077792f10e",
  "exception_executions": {
    "[StandardError]": 1
  },
  "_good_job": {
    "id": "928f974e-97b4-4e99-99c0-0d077792f10e",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 10:15:33 UTC",
    "performed_at": "2024-11-21 10:15:33 UTC",
    "finished_at": "2024-11-21 10:15:33 UTC",
    "error": null,
    "created_at": "2024-11-21 10:15:30 UTC",
    "updated_at": "2024-11-21 10:15:33 UTC",
    "active_job_id": "928f974e-97b4-4e99-99c0-0d077792f10e",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "82407e2b-7567-4539-9102-11765c3bf32a",
    "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": "f38178c0-c5f6-4540-8cf8-670cbbfe61ef",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "slow"
  ],
  "job_class": "ExampleJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T10:15:30.047289739Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "f38178c0-c5f6-4540-8cf8-670cbbfe61ef",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 10:15:30 UTC",
    "performed_at": "2024-11-21 10:15:30 UTC",
    "finished_at": "2024-11-21 10:15:35 UTC",
    "error": null,
    "created_at": "2024-11-21 10:15:30 UTC",
    "updated_at": "2024-11-21 10:15:35 UTC",
    "active_job_id": "f38178c0-c5f6-4540-8cf8-670cbbfe61ef",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "82407e2b-7567-4539-9102-11765c3bf32a",
    "batch_callback_id": null,
    "executions_count": 1,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}