Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: whitespace

...

No Format
1 => {name: "John Doe", phone: "5555555"}
2 => {name: "Jane Doe", phone: "6666666"}


# to remove the phone number we can replace the value with a new message
1 => {name: "John Doe"}


# to completely delete key 1 we can send a tombstone record
1 => null


# but until compaction runs (and some other conditions are met), reading the whole topic will get all three values for key 1, and the old values are still retained on disk.

if there is a requirement to guarantee a maximum time an old record can exist (for example an interpretation of GDPR PII) a new topic setting is needed, because existing configurations focus only on the minimum time it should live, or sacrifice the efficiencies gained by the dirty ratio settings.

...