Skip to contentManaged Kafka is live: Apache Kafka on AWS for half the cost of MSK

Event types

replication.error

Sent when a pipeline fails to start, read from the source or write to the destination. The payload carries the error and, for topic failures, the Kafka topic.

Each delivery has severity set to error and message set to Replication error. To receive the event, select replication.error under Events on a webhook in Monitors > Webhooks.

Properties that can be missing or extra

error is in every delivery. Make your handler accept a payload without topic and with database.

PropertyWhen it appears
topicThe failure is tied to one Kafka topic, for example a failed flush or a topic that doesn’t exist yet. Failures before the Kafka consumers start and errors from the source reader leave it out.
databaseA PostgreSQL source fails while streaming changes. The value is the source database name. The payload schema on this page does not list it.

Errors that send no event

Artie skips delivery when the error text matches a transient failure, for example connection reset by peer or context canceled. A PostgreSQL, MySQL or MongoDB source that closes its connection mid-stream also sends no event: Artie restarts and resumes from the last committed offset. For retries and request headers, see the webhooks overview.

Events this one replaces

replication.error replaces replication.failed and connection.failed, which Artie no longer sends.

Payload

application/json

Replication error

  • delivery_metadataobjectrequired
    Show child attributes
    • attemptintegerrequired

      1-based delivery attempt number for this event.

  • destinationstringrequired

    Destination connector type (e.g. bigquery).

  • environment_namestring

    Human-readable name of the environment. Omitted when the event has no environment.

  • environment_uuidstring<uuid> | null

    UUID of the environment the event belongs to. Omitted when the event has no environment.

  • eventstringrequired

    Event type identifier (e.g. replication.failed).

    Available options: replication.error

  • messagestringrequired

    Human-readable summary of the event.

  • pipelinesobject[]required
    Show child attributes
    • namestringrequired
    • uuidstring<uuid>required
  • propertiesobjectrequired

    Event-specific fields included in the properties object of a webhook delivery. The set of keys depends on the event type. Every field is optional; omitted keys should be treated as absent. Artie may add new fields at any time—clients must tolerate unknown keys and should not assume a fixed schema beyond this contract.

    Show child attributes
    • errorstringrequired

      Full error string (scrubbed).

    • topicstring

      Kafka topic the failure is scoped to, when the error is topic-specific (scrubbed).

  • severitystringrequired

    Severity of the event.

    Available options: info, warning, error

  • sourcestringrequired

    Source connector type (e.g. postgresql).

  • source_reader_uuidstring<uuid>required
  • timestampstring<date-time>required

    Time the event occurred (RFC 3339).

Example payload
{
  "delivery_metadata": {
    "attempt": 1
  },
  "destination": "snowflake",
  "environment_name": "Production",
  "environment_uuid": "33333333-3333-3333-3333-333333333333",
  "event": "replication.error",
  "message": "Replication error",
  "pipelines": [
    {
      "name": "Production Postgres → Snowflake",
      "uuid": "22222222-2222-2222-2222-222222222222"
    }
  ],
  "properties": {
    "error": "failed to flush: context deadline exceeded",
    "topic": "dbserver1.public.orders"
  },
  "severity": "error",
  "source": "postgresql",
  "source_reader_uuid": "11111111-1111-1111-1111-111111111111",
  "timestamp": "2026-06-20T12:00:00Z"
}

Was this page helpful?