Sync Kafka job failures and retry across partitions

Recipe ToolsMarketing

What it does

Every 5 minutes, this automation searches Kafka job history across partitions to find failed jobs. When failed jobs are found, it reruns them so data processing continues without manual intervention.

Who it's for

Engineering teams who need to recover from Kafka job failures automatically without monitoring dashboards.

How teams use this

Recover from transient Kafka failures

Failed jobs are retried automatically every 5 minutes without requiring someone to manually restart them. The partition recovers and continues processing data.

Monitor multiple partitions at once

Check all Kafka partitions in a single automation run so no failed job goes unnoticed. Each partition is scanned and retried on the same schedule.

Alert the team when retries fail

Add a notification step that sends a message to an incident channel only when a job fails after retry attempts. This requires including a condition to check retry count.

How it works

  1. Check every 5 minutes. The automation runs on a 5-minute schedule to look for failed jobs across Kafka partitions.
  2. Search job history for failures. Search the job history of each partition in Workato App to identify any failed jobs that need to be retried.
  3. Rerun failed jobs when found. When a failed job is detected, rerun it automatically in Workato App so the partition can resume normal processing.