Understanding Data Integration: The Essence and Strategic Importance

Data integration is the transfer of business facts across systems that use different schemas, schedules and ownership boundaries. The central design decision is not whether to “connect everything,” but how to move a defined dataset with an acceptable delay, consistency model, failure behavior and maintenance burden. Batch extracts, database change-data capture (CDC), and application events solve different problems.

Start from the business event and its semantics

Consider a hypothetical retailer whose order records are stored in a transactional database and must appear in a reporting warehouse. The reporting team needs a trusted daily revenue report, customer service wants a near-real-time order status, and finance needs reproducible month-end totals. Those three tasks have different freshness and correctness requirements. A source-of-truth field, timezone, cancellation rule and order identity must be agreed before choosing a transport.

A common mistake is to treat source timestamps as sufficient ordering or to assume every update is an additive new sale. Refunds, status reversals, and late-arriving events can make naïve aggregation incorrect.

Choose the integration pattern from the change model

Pattern Good fit Distinct operational concern
Scheduled batch extract Daily or hourly snapshots where latency is acceptable Window overlap, late changes, snapshot consistency
Database change-data capture Ongoing row-level changes from supported source logs Ordering, schema evolution, source-log retention
Application business events Domain actions such as order paid/refunded Event meaning, duplicate delivery, producer ownership

A CDC feed tells you that database rows changed; it does not automatically convey why the business state changed. An application event may carry meaningful intent, but it must still be delivered and processed with retry-safe semantics.

Make duplicates and replay harmless

Design an idempotency key from a real event or source-change identity, not just an arrival timestamp. For a batch, persist the extraction interval and input snapshot identifier; for CDC, track an appropriate source position together with destination commit evidence. When a consumer crashes after committing output but before acknowledging input, replay should not duplicate business records.

Reconciliation needs explicit counts and money totals where relevant. For example, compare a controlled source snapshot with the destination’s latest completed version and investigate differences rather than asserting that “exactly once” transport labels guarantee business correctness.

Treat schema changes as a collaboration

A source owner may rename a column, split a status into two fields, or change a nullable value to a required field. An integration contract should specify versioning, compatible rollout order, validation, and who responds to an unexpected schema. Maintain a dead-letter or quarantine workflow for rejected records, but avoid silently dropping them from official reporting. Do not place secret credentials or private payloads in unprotected retry logs.

Separate personally identifiable fields from attributes needed for analytics and limit who can read raw staging data.

Operate and compare patterns by evidence

Measure source-to-destination lag, oldest unprocessed event, retry depth, validation failures, output freshness and reconciliation variance. A successful connection does not imply the right business totals. Run a controlled failure drill: pause the consumer, resume from its saved point, verify no double-counting, and confirm that a corrected record reaches its intended report.

Once source facts arrive, downstream pipelines take responsibility for transformations, dependency scheduling, backfills and quality-gated publication. Define that boundary explicitly: the ingestion process preserves event identity and provenance, while later stages establish which complete result consumers can trust.

A good integration design states what a fact means, how it moves, how replay behaves, and how correctness is tested after failure. Transport choice follows those promises rather than the other way around.

img