Hi everyone,

We're designing an on-premises video analytics system (~200 camera views,
NVIDIA GPUs) and evaluating Kafka for transporting person image crops
between services.

*Context*

   -

   Payloads: JPEG or raw person crops (~10–100 KB), potentially a few
   hundred per second per server.
   -

   Privacy requirement: person images must never be persisted to disk and
   must be deleted promptly when a person leaves the site.
   -

   Alternative: keep crops in GPU memory for local Re-ID inference and
   publish only metadata and 384-D embeddings (~1.5 KB each) through Kafka.

*Questions*

   1.

   *Memory-only operation:* Is there a supported production configuration
   that guarantees Kafka record payloads never reach persistent storage?
   Specifically, is using tmpfs for log.dirs supported, and what other
   components or OS mechanisms (KRaft metadata, swap, crash dumps, etc.) would
   need to be considered?
   2.

   *Record deletion:* Can Kafka guarantee deletion of an individual record
   within a defined time after a deletion request? Would log compaction and
   tombstones help, or would the record remain until segment cleanup?
   3.

   *Architecture:* At this payload size and rate, would you recommend
   transporting crops through Kafka, or keeping image processing local and
   publishing only metadata and embeddings? Would a claim-check pattern offer
   any advantage under a strict no-disk requirement?
   4.

   *Production guidance:* Are there documented deployments or recommended
   practices for Kafka under these privacy constraints?

Our preliminary assessment is that Kafka fits well for metadata and events,
but may not be suitable for image payloads requiring strict non-persistence
and prompt deletion.

We'd appreciate any corrections, production experience, or relevant
documentation.

Thanks!

Rigo

Reply via email to