
This article develops the supplied brief. The demo is proposed and has not been executed. Screenshots, benchmarks and tested configuration will be added after implementation.
Why changing data needs a different approach
An overnight extract can explain yesterday’s orders. It may miss the cancellation that happened ten minutes ago. Copying the entire orders table more frequently can reduce that gap, but the work grows with the dataset, even when relatively few rows have changed.
Change data capture (CDC) starts with an initial dataset and then follows subsequent changes. The engineering challenge is to make those changes arrive correctly, with enough evidence to explain missing rows, delayed updates or unexpected totals. This draft proposes a small, repeatable validation exercise rather than claiming a completed production deployment.
What the integrated pipeline changes
Databricks’ AWS release notes list the MySQL integrated CDC pipeline as generally available from 15 October 2026. Its defining change is architectural: extraction and application run within one pipeline update, without a separate ingestion gateway. The integrated-pipeline guide describes scheduled execution as the default. Confirm the execution modes available in your workspace before choosing a latency target.
Use the AWS documentation linked below as the starting point. Record your actual cloud, region, MySQL version, connector configuration and run schedule in the final walkthrough. A release announcement does not establish availability in every environment.

Design a small, inspectable source
Use fictional orders and a stable primary key. Keep the first dataset deliberately small so a person can reconcile every row. For this exercise, define the destination as a current-state representation. If the business needs every historical version, design and validate that requirement separately.
| Column | Purpose |
|---|---|
| order_id | Stable primary key |
| customer_id | Synthetic customer reference |
| order_status | Current business state |
| order_total | Amount using an explicit decimal type |
| updated_at | Source-side validation timestamp |
Before running ingestion, check the documented source versions, logging configuration, permissions, network route and log retention requirements. Store connection credentials through supported connection management. Do not place them in notebooks, screenshots or sample repositories.
Proposed demonstration: prove every mutation
- Establish a baseline. Create three synthetic orders. Save a source query result and run the initial load.
- Reconcile the snapshot. Compare primary-key sets, statuses and amounts. A matching row count alone is insufficient.
- Insert one order. Record the source commit time and wait for the next pipeline update. Check the new key and all expected values.
- Update one status. Change an existing order from pending to cancelled. Verify that the destination reflects the chosen current-state semantics.
- Delete a test order. Confirm the destination behaviour against the documented configuration.
- Restart and reconcile. Interrupt only the disposable test workflow, restart it, and repeat the key and value comparisons.
These are proposed test steps. No Databricks workspace or MySQL database has been used to execute them for this article.
A validation checklist worth keeping
Capture the evidence after each operation, rather than collecting only a final “pipeline succeeded” screenshot.
| Test | Expected result for this design | Evidence to capture |
|---|---|---|
| Initial load | All baseline keys and values match | Source and destination extracts |
| Insert | Exactly one new current-state row | Key, values and visibility timestamp |
| Update | Existing row has the new status | Before/after comparison |
| Delete | Deleted key absent from current-state output | Key lookup on both sides |
| Restart | No unexplained missing or duplicate keys | Reconciliation and run logs |
If a check fails, first separate ingestion delay from incorrect state. Confirm that the relevant pipeline update completed, then inspect keys, source permissions, network errors and retention settings. Review documented handling of schema changes before extending the exercise.
Measure correctness before celebrating speed
Record initial-load duration, source-to-destination lag, failed updates, recovery time and reconciliation differences. Measure source overhead if you have access to suitable monitoring. Use several changes across several runs; a single fast insert is not a useful service-level promise.
The final article should include the tested configuration, screenshots, a sanitised run log and actual measurements. Until those exist, the result is a proposed implementation and validation plan. A CDC pipeline earns trust when changes apply correctly, failures are visible and recovery has been demonstrated.
Worked example and design decisions
Insert a fictional order for 100.00, update it to 125.00 and cancel it. Delete a separate disposable order. Save the committed source state after every mutation. Compare a current-state destination with that expectation. If history is required, choose and validate it explicitly rather than assuming CDC preserves every intermediate state.
Use this scenario to write the expected result before building the pipeline or agent. Identify the exact source facts, the permitted transformations and the outcome that a reviewer should see. Keep the reference result independent of the implementation under test.
A concrete data or asset contract
The following is a proposed application contract, not an assertion that these are native vendor API fields. Adapt names and types to the selected platform while preserving their intended meaning.
| Proposed field | Meaning and implementation concern |
|---|---|
order_id | Stable synthetic primary key |
order_status | Current business status |
order_total | Decimal amount with defined scale |
updated_at | Source observation time |
source_position | Progress evidence where exposed |
run_id | Ingestion update being reviewed |
Document null semantics, stable identifiers and schema ownership with the contract. A missing observation, a zero amount and a denied lookup are different states and should not collapse into the same empty response.
Implementation blueprint
1. Pin the source configuration
Check the supported MySQL version, logging requirements, permissions and retention guidance for the selected connector. Review the source contract with its owner.
2. Separate snapshot and changes
Reconcile the initial population first. Then test inserts, updates and deletes so a snapshot mismatch is not confused with incremental failure.
3. Design the freshness envelope
Include scheduling, extraction, application and failed runs in the target. A fast best-case update does not describe normal or recovery behaviour.
4. Reconcile at the destination
Compare key sets, statuses and decimal amounts. Test nulls, type mappings and deletion behaviour. Aggregate counts should supplement row-level checks in the small demo.
Failure analysis: test the uncomfortable case
An outage lasts longer than source-log retention. Confirm the documented recovery route and whether a new snapshot is required. Do not claim replay works without exercising that exact configuration.
Build this condition into the synthetic test set. Capture the observed output, the control that should detect the issue and the recovery decision. If the system returns a polished but unsupported result, record that as a failure rather than a successful request.
Operational ownership and runbook
Monitor run outcomes, source connectivity, lag and reconciliation exceptions. Include the source owner in escalation. Separate a successful ingestion update from a business-validated output.
A useful incident record identifies the affected product or capability, the relevant run or request, the business time represented and the owner of the next action. Distinguish restoring infrastructure from restoring correct service output. Preserve enough versioned evidence to explain the recovered state.
Evidence required before a production claim
The core design controls for this topic are: Stable keys; versioned configuration; snapshot and mutation checks; documented recovery; and visible freshness.
- Contract review: confirm field meaning, intended use, owner and access boundaries.
- Positive and negative tests: include the worked example, invalid inputs, restricted access and the failure case described above.
- Repeatable measurements: retain configuration, workload size, timing method, failures and the baseline used for comparison.
- Recovery evidence: demonstrate the documented recovery route and validate the resulting data or application behaviour.
This expanded article remains a proposed technical design. Environment-specific configuration, screenshots and measured outcomes should be added only after the implementation is executed and reviewed.
Official references
Reference scope: Databricks on AWS. Reviewed 29 October 2026; confirm workspace availability and current prerequisites before implementation.
