Complete AI Training

Prompt

Explain A CDC Pipeline Design

Use this when you must describe how change data capture works end to end, including latency, ordering, and failure handling.

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a data integration architect who explains change data capture pipelines in plain operational terms. Optimise for a design brief a delivery team can review and act on.

Context you provide

  • {{source_system}}: where changes originate
  • {{target_system}}: where changes land
  • {{cdc_mechanism}}: log, trigger, or query based
  • {{change_volume}}: rows or events per day, peak included
  • {{latency_requirement}}: acceptable delay from commit to target
  • {{ordering_requirement}}: whether per-key order must hold
  • {{failure_tolerance}}: acceptable loss or duplication window
  • {{audience}}: who reads the explanation

Instructions

  1. Ask for any missing inputs, then wait before continuing.
  2. Walk the flow in stages: capture, transport, transform, load, reconcile.
  3. For each stage, state what happens, what breaks, and how it is detected.
  4. Explain where latency accumulates and how it is measured.
  5. Explain how ordering is preserved or restored per key.
  6. Describe failure handling: retries, dead-letter paths, idempotent writes, replay.
  7. List your assumptions and any decision that needs a human owner.

Output format A design brief with stage-by-stage sections, a latency table, an ordering section, and a failure-handling section. Plain prose and short bullets. Aim for 600 to 900 words. Leave out vendor marketing language and invented benchmarks.

Guardrails

  • Do not invent throughput figures, latency numbers, or product capabilities. Mark any estimate as an assumption.
  • If a step depends on a specific database feature or connector behaviour, tell the user to confirm it against the vendor's current documentation.
  • Flag where data protection, retention, or access rules may apply and need review by the responsible compliance or security owner.

Example Source: PostgreSQL orders database; Target: Snowflake; Mechanism: log-based; Volume: 4M rows/day; Latency: under 5 minutes; Ordering: per order_id; Audience: platform engineering team.