StreamNative Logo
VideoOct 8, 202626 mins

Your Agent's Memory Is Only as Good as the Pipeline Behind It

Unlock Instant Access

Complete the form to start watching.

Session Overview

When AI agents rely on a data lakehouse for long-term memory, subtle pipeline bugs can silently feed them out-of-order, stale data. Because the agent doesn't crash, it gives wrong answers with total confidence.

In this talk, Spoorthi Basu (Software Engineer at Genesys) explains how out-of-order commits and routine table compactions silently overwrite valid data. Learn how Flink CDC and Apache Iceberg equality deletes interact, why standard "exactly-once" semantics won’t protect against read-time data anomalies, and how to detect stale winner rows before compaction washes the evidence away.

What You'll Learn

  • How out-of-order CDC updates cause stale records to win over fresh data
  • The checkpoint schema-change bug in Flink CDC and how it was resolved
  • JobManager off-heap memory exhaustion during high-split source snapshots
  • Why table compaction acts as "evidence laundering" for a corrupted state
  • Retention clock tradeoffs across Iceberg, Apache Hudi, and Delta Lake
  • How to use a read-only checker and metadata gating to identify and backfill stale keys

Chapters

  • 00:00 — Introduction & the silent agent memory problem
  • 02:46 — Flink CDC schema bug & equality deletes
  • 06:22 — Processing guarantees vs. read-time correctness
  • 07:03 — JobManager memory leaks in high-split snapshots
  • 11:15 — Detecting stale winners with a read-only checker
  • 13:26 — How compaction hides out-of-order data corruption
  • 15:45 — Retention clocks across Iceberg, Hudi, and Delta Lake
  • 17:26 — Safe pre-combine configurations & best practices
  • 19:31 — Compaction patching & targeted backfills
  • 25:44 — Conclusion & wrap-up

About Speaker

Spoorthi Basu

Spoorthi Basu Spoorthi Basu is a contributor to Apache Flink CDC and a software engineer at Genesys Cloud Services. Her work on the project is about keeping change data capture correct and operable as it scales. She is interested in the failures that do not announce themselves, where every guarantee holds and the data underneath is still wrong.