Start pipeline design with the consumer’s deadline
Dispatchers need locations within seconds. Finance wants a corrected daily total. A single nightly export is inexpensive. Which parts of the design can be shared?
Start pipeline design with the consumer’s deadline
Draw a boundary around each producer and consumer. For a five-second alert, budget time for source emission, queueing, processing and delivery. A daily accounting export has a separate requirement for completeness, including what happens when a correction arrives after the close.
In the recording
Plan separate sinks for the live map and analytical tables from freshness, source volume and private networking requirements.
Work through the decision
Dispatchers need locations within seconds. Finance wants a corrected daily total. A single nightly export is inexpensive. Which parts of the design can be shared?
Check your reasoning
Use a shared event contract and a durable intake, then assign each sink its own update and acceptance policy. Budget for message delay, processing, delivery and retries. Validate the network path and identity from the runtime to each sink.
Decisions and tradeoffs
- Streaming sink
- An incrementally updated destination fits low-latency operational views. Specify the delay a consumer can tolerate.
- Batch sink
- A scheduled output can use a closed interval and a reconciliation step when the consumer accepts delayed updates.
- Private network path
- Verify routing, name resolution and service reachability from the runtime when sources have no public endpoint.
- Transport encryption
- Authenticate the peer and protect data in transit across each hop, including private connections.
Practice the guide skills
- Name the source, event key, expected rate and both sinks.
- Draw the dependencies between transform, close and publish.
- Test DNS, routing and service reachability from the worker.
- Identify trust boundaries and encryption requirements in transit and at rest.
Official objectives for this lesson
Related lesson · Choose the transformation engine and its data contract
Start pipeline design with the consumer’s deadline quiz
Answer 3 questions. Check each answer for an explanation.