Does StreamSets Remember Between Runs? It Keeps the Last-Saved Offset. Not the Reasoning.
Does StreamSets Remember Between Runs? It Keeps the Last-Saved Offset. Not the Reasoning. Yes, in a precise and mechanical way. StreamSets remembers between runs through the offset: the recorded position where an origin stopped reading. Stop a pipeline and restart it, and processing continues from the last-saved offset instead of starting over. Run that same pipeline under Control Hub as a job, and the offset can even follow the pipeline to a different engine. What the offset never carries is t
Does StreamSets Remember Between Runs? It Keeps the Last-Saved Offset. Not the Reasoning.
Yes, in a precise and mechanical way. StreamSets remembers between runs through the offset: the recorded position where an origin stopped reading. Stop a pipeline and restart it, and processing continues from the last-saved offset instead of starting over. Run that same pipeline under Control Hub as a job, and the offset can even follow the pipeline to a different engine. What the offset never carries is the reasoning: why a record was flagged, what an AI step concluded, or what should happen differently next time.
That distinction matters more as pipelines gain AI stages. The data resumes exactly where it left off. The thinking starts from zero.
The offset is a bookmark in the source, nothing more
Data moves through a StreamSets pipeline in batches. The origin reads from the source system and notes the offset, which is simply the location where it stops reading. The batch travels through the processors to the destinations, and once the destinations write, Data Collector commits the offset internally. The next batch starts after that committed position.
When a pipeline stops, the origin notes where it stopped processing. When the pipeline starts again, it continues from that point by default. This is the whole memory model in one sentence: a position in a source, saved so the next run does not repeat finished work.
The shape of the offset depends on the origin. For a directory or file source it can be the last-modified timestamp of the last processed file, so the next run only picks up files changed after that moment. For the Kafka Multitopic Consumer, the offset is stored in Kafka itself. For origins that read transient data, such as the HTTP Client origin, offsets are not stored at all, because there is no stable position to return to.
Incremental origins turn the offset into a query
Database origins make the mechanism visible. An incremental query is built on an offset column and an initial offset value. The offset column has to hold unique, non-null values, typically a primary key or an indexed column, and the SQL query references the current offset through the ${OFFSET} parameter in its WHERE clause.
The first query runs with the initial offset value. As the origin finishes processing the results, it saves the last offset value it processed. The next query, after the configured query interval, substitutes that last-saved value, so each pass reads only rows beyond the previous stopping point. Nothing about the rows themselves is remembered, only the highest position reached. Resetting the origin throws the bookmark away and returns to the initial offset value, so the source is read again from the configured starting point.
The delivery guarantee decides when the bookmark moves
When the offset gets committed is a configuration choice with real consequences. Under the at-least-once delivery guarantee, Data Collector commits the offset after receiving write confirmation from all destination systems. If a failure stops the pipeline after data reached a destination but before confirmation and commit, up to one batch can be duplicated on restart, and in exchange no data is lost.
Under at-most-once, the offset is committed as soon as the write happens, without waiting for confirmation. A failure at the wrong moment can leave up to one batch unwritten, and in exchange nothing is processed twice. Either way, the thing being protected is position. The guarantee governs how the bookmark moves, not what any stage understood about the data passing through.
Resetting is the deliberate exception to all of this. Reset the origin, or use Reset Offsets and Start on a Transformer pipeline, and the next run behaves like the very first run, processing all available data and storing a fresh offset at the end.
Control Hub gives the offset a second home
Pipelines running as Control Hub jobs get an extra layer. While a job runs, each Data Collector periodically sends its latest offset to Control Hub. If a Data Collector disconnects, it keeps maintaining the offset locally and updates Control Hub as soon as it reconnects. When the job stops, the Data Collectors send their last-saved offsets back, and Control Hub holds them for every pipeline instance in the job.
On restart, Control Hub hands the last-saved offset to a Data Collector so processing continues where it stopped. With failover disabled, the offset returns to the same Data Collector that ran the instance. With failover enabled, Control Hub can send it to a different engine with matching labels, and a failed pipeline can be restarted on another available engine from its last-saved offset. The offsets are visible in the job History view, so an operator can see exactly which position each instance will resume from.
This is good continuity engineering. It is also, still, only a position: one value per origin, designed for resuming reads.
What no offset can remember
Consider what a modern StreamSets pipeline actually does with the data it resumes. A stage classifies incoming records, an enrichment step decides which accounts need attention, an AI step drafts summaries or routes exceptions. The offset guarantees those stages see each record from the right starting point. It says nothing about what they concluded last time.
So the same customer can be assessed fresh on every run, with no record of the previous assessment. A correction made yesterday exists nowhere the pipeline can read. The bookmark is per origin, per pipeline, and purely positional, and reasoning is none of those things.
Where Vilix AI fits
Vilix AI is the memory layer for that reasoning, sitting alongside the pipeline rather than inside any single stage. It is cloud-hosted with zero infrastructure to run, so there is no extra system to provision or maintain just to give agents a past. The same memory is reachable everywhere over MCP, so an agent inside a pipeline and an assistant in a completely different tool read and write one shared history instead of separate fragments.
The content is different in kind from an offset. Vilix AI keeps full conversation history, not just extracted facts or a single position value, so a later run can recover what was decided, why it was decided, and what happened afterwards. A step can check that history before acting and write its own conclusion back when it finishes.
Starting is low friction. There is a free plan that stays free forever, and a 7-day Pro trial that needs no card. Memory can be exported or deleted at any time, so the past stays under the operator's control.
A practical way to combine the two
Let StreamSets keep doing what it is built for. Let offsets handle resume positions, let the delivery guarantee govern how they commit, and let Control Hub move them between engines when a job fails over. Then add one habit around the AI stages: read shared memory at the start of the run, and write the decision and its reason back at the end.
The pipeline then resumes its data and its thinking at the same time. One system remembers where reading stopped. The other remembers everything that was figured out along the way, and that second kind of memory is the one Vilix AI provides.