Agenda

Masking PII/PCI in Motion: Real-Time Data-Loss Prevention with Kafka and Flink on Confluent Cloud

Leo Bombonato, Blip.aiErick Da Silva, Datatchê

Thu, Nov 5, 10:30⁠–⁠11:15 AMRoom 2000

LLMs and AI AgentsAdvancedBreakout session

Most data-loss prevention happens after the fact — batch scans, nightly jobs,
audits that find the leak days later. But sensitive data leaks in motion: an
SSN typed into a free-text "notes" field rides a Kafka topic to a dozen
downstream consumers within seconds. This session shows how we shifted DLP left,
into the stream itself, so PII and PCI are detected and masked before a record
ever lands in a downstream system — a pattern we took from lab to a real client
engagement.

We walk through a production-shaped pipeline: customer records flow into
Confluent Cloud Kafka; Confluent Cloud for Apache Flink runs streaming SQL that
calls a custom Java UDF; the UDF calls an external DLP API (Nightfall) to find
SSNs, credit cards, and emails hidden in free text.

High-confidence findings are masked inline (last four digits kept) and attached as a structured findings object; lower-confidence hits are routed to a separate review topic for a human
analyst instead of being silently dropped or over-redacted. Per-call latency is
tracked per record and aggregated per minute, so the cost of "scanning in the
stream" is observable, not a black box.

On technical depth, we cover calling an external API from inside a Flink UDF
(Confluent's External Connectivity for UDFs), keeping secrets in a managed
connection, a fail-open design so a DLP outage never crashes the stream,
structured ROW return types matched to a JSON Schema sink, and the whole pipeline
provisioned as code with Terraform and a single Makefile.

Audience takeaways: a concrete pattern for in-stream redaction and tokenization,
how to balance automated masking against human review to control false
positives, how to budget the latency and cost of an external call per event, and
an honest account of what broke when we shipped it to a client.

By attending this session, your contact information may be shared with the sponsor for relevant follow up for this event only.

Speakers

Also on at this time

Add to calendar

Google Calendar Outlook.com Outlook (work or school) Apple Calendar (.ics)