A pipeline nobody wanted to own#
Kestrel builds a CRM for field sales teams, and its product sends about 1.9 billion events a month. For three years those events went through a Kafka topic, a set of consumers and a nightly job that loaded them into Frostline. It worked most of the time. When it did not, a data engineer lost a day to replaying offsets and patching a schema.
Marcus Oyelaran, Director of Data, counted the cost at the end of 2025: roughly a day a week of senior engineering time, tables that were 12 to 24 hours stale, and a funnel definition that lived in three places and disagreed with itself.
Two pipelines, side by side#
The team did not want a big-bang migration. Plotline's warehouse sync wrote its tables into a new schema, ANALYTICS.PLOTLINE, while the old pipeline kept running. For nine days the data team compared row counts and funnel numbers between the two every morning.
Hours a week spent on the pipeline
W8 · Own pipeline 9 h · Plotline sync 0.5 h
| Table | Old pipeline | Plotline | Difference |
|---|---|---|---|
| events | 61,204,118 | 61,204,377 | +0.0004% |
| accounts | 9,412 | 9,412 | 0 |
| trial funnel, step 5 | 1,388 | 1,391 | +3 (late events) |
The few differences came from late events the old job had dropped. On day nine the team switched its dbt models to the new schema and turned the consumers off.
We deleted 3,000 lines of pipeline code. The tables Plotline writes are the ones we would have designed ourselves.
Funnels in plain SQL#
Because funnel steps land as a table, funnel_steps, analysts stopped re-implementing funnel logic in SQL. Finance joins it with billing to see revenue by acquisition step; sales ops joins it with the CRM to see which accounts stalled before a demo. Everyone reads the same definition the product team uses in the app.
- Tables refresh every 5 minutes on Scale, against 12 to 24 hours before.
- On-call pages for the pipeline went from four a quarter to none.
- Warehouse compute for the merges: about 40 seconds an hour on a small warehouse.
What the team does now#
The engineer who used to babysit the pipeline now owns Kestrel's revenue models. The data team's quarterly plan no longer has a line for ingestion.