JLVM-601-2. Near–Real-Time Patterns, Pub/Sub, CDC, and Privacy-by-Design
This is the Intermediate level lesson within the Technical Integration course.
Modern customer experience systems rely on journey orchestration that reacts to customer actions as they happen. Low-latency, consent-aware streaming is foundational to this approach. Streaming pipelines (e.g. Kafka, Pulsar) enable immediate event delivery and processing; by contrast, batch-only systems introduce significant delays and stale data. For example, if a retailer updates inventory just once daily, a sold-out product may still appear available until the next batch update, frustrating customers.
Similarly, real-time use cases (ride-sharing, instant offers) demand sub-second responsiveness – batch “nightly” processing simply cannot meet these expectations. Studies emphasize that event-driven architectures (e.g. Kafka + Flink) are critical for personalized, contextual journey orchestration, precisely because they maintain low-latency data flows.
In short, streaming ensures that decisions and triggers are based on the freshest data; in contrast, batching creates bottlenecks as downstream teams wait for updated data.
Timeliness: Real-time event ingestion enables immediate reactions (e.g. targeting a customer while interest is fresh). Batch pipelines sacrifice timeliness, leading to missed opportunities (e.g. delayed offers, outdated personalization).
Customer Expectations: Modern customers expect instant responses. A ride-sharing app, for instance, needs live location and match-making; a batch approach would make drivers and riders wait, undermining the experience.
Consent and Compliance Risk: If customer consent flags (opt-ins/opt-outs) are only checked on batch cycles, privacy violations can occur before the next update. A streaming approach carries consent flags in each event so that an “opt-out” can immediately prevent further communications.
Complexity: Orchestration demands handling high volumes of events with minimal latency while preserving context and privacy. Any delayed data propagation delays the entire journey flow and can lead to customer dissatisfaction.