Atributos
{
  "id": "8ee94c4c-ccdb-4633-b376-7b45f40d3406",
  "created_at": "2024-11-21 06:24:30 UTC",
  "updated_at": "2024-11-21 06:24: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:24:30 UTC",
  "discarded_at": "2024-11-21 06:24:36 UTC",
  "finished_at": "2024-11-21 06:24:36 UTC",
  "jobs_finished_at": "2024-11-21 06:24:36 UTC",
  "properties": {
    "foo": "bar"
  }
}
Tarefas de Callback
Tarefas
Fila
Prioridade
Tentativas
Fila
default
Prioridade
0
Tentativas
1
Concluído com sucesso
{
  "job_id": "26a24910-01de-4fa5-9626-9481bd6c5a1f",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    {
      "_aj_globalid": "gid://test-app/GoodJob::Batch/8ee94c4c-ccdb-4633-b376-7b45f40d3406"
    },
    {
      "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:24:36.789252927Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "26a24910-01de-4fa5-9626-9481bd6c5a1f",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 06:24:36 UTC",
    "performed_at": "2024-11-21 06:24:36 UTC",
    "finished_at": "2024-11-21 06:24:36 UTC",
    "error": null,
    "created_at": "2024-11-21 06:24:36 UTC",
    "updated_at": "2024-11-21 06:24:36 UTC",
    "active_job_id": "26a24910-01de-4fa5-9626-9481bd6c5a1f",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": null,
    "batch_callback_id": "8ee94c4c-ccdb-4633-b376-7b45f40d3406",
    "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": "0b6afc72-deec-49ff-aa87-1d3210529b2c",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "dead"
  ],
  "job_class": "ExampleJob",
  "executions": 2,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T06:24:33.388774853Z",
  "scheduled_at": "2024-11-21T06:24:36.759162533Z",
  "provider_job_id": "0b6afc72-deec-49ff-aa87-1d3210529b2c",
  "exception_executions": {
    "[ExampleJob::DeadError]": 2
  },
  "_good_job": {
    "id": "0b6afc72-deec-49ff-aa87-1d3210529b2c",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 06:24:36 UTC",
    "performed_at": "2024-11-21 06:24:36 UTC",
    "finished_at": "2024-11-21 06:24:36 UTC",
    "error": "ExampleJob::DeadError: ExampleJob::DeadError",
    "created_at": "2024-11-21 06:24:33 UTC",
    "updated_at": "2024-11-21 06:24:36 UTC",
    "active_job_id": "0b6afc72-deec-49ff-aa87-1d3210529b2c",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "8ee94c4c-ccdb-4633-b376-7b45f40d3406",
    "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": "11b808bf-3cb0-4379-a67f-27df7a755ebe",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "slow"
  ],
  "job_class": "ExampleJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T06:24:30.114125064Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "11b808bf-3cb0-4379-a67f-27df7a755ebe",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 06:24:30 UTC",
    "performed_at": "2024-11-21 06:24:30 UTC",
    "finished_at": "2024-11-21 06:24:35 UTC",
    "error": null,
    "created_at": "2024-11-21 06:24:30 UTC",
    "updated_at": "2024-11-21 06:24:35 UTC",
    "active_job_id": "11b808bf-3cb0-4379-a67f-27df7a755ebe",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "8ee94c4c-ccdb-4633-b376-7b45f40d3406",
    "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
1
Concluído com sucesso
{
  "job_id": "0cca6a51-2b78-4641-8cb9-6222b5099c0e",
  "locale": "en",
  "priority": null,
  "timezone": "UTC",
  "arguments": [
    "slow"
  ],
  "job_class": "ExampleJob",
  "executions": 0,
  "queue_name": "default",
  "enqueued_at": "2024-11-21T06:24:30.113883244Z",
  "scheduled_at": null,
  "provider_job_id": null,
  "exception_executions": {},
  "_good_job": {
    "id": "0cca6a51-2b78-4641-8cb9-6222b5099c0e",
    "queue_name": "default",
    "priority": 0,
    "scheduled_at": "2024-11-21 06:24:30 UTC",
    "performed_at": "2024-11-21 06:24:30 UTC",
    "finished_at": "2024-11-21 06:24:35 UTC",
    "error": null,
    "created_at": "2024-11-21 06:24:30 UTC",
    "updated_at": "2024-11-21 06:24:35 UTC",
    "active_job_id": "0cca6a51-2b78-4641-8cb9-6222b5099c0e",
    "concurrency_key": null,
    "cron_key": null,
    "cron_at": null,
    "batch_id": "8ee94c4c-ccdb-4633-b376-7b45f40d3406",
    "batch_callback_id": null,
    "executions_count": 1,
    "job_class": "ExampleJob",
    "error_event": null,
    "labels": null,
    "locked_by_id": null,
    "locked_at": null
  }
}