Consistency is not a localized property

Oct 6, 2026

It is a common pattern for developers to assume that consistency is something they can achieve inside a single component. Apache Kafka is the cautionary tale. Making writes exactly-once took a team of distributed systems engineers years and several new components and a complete rewrite of older components (Gustafson et al. 2016).1

And after all of that, the people who built it are blunt about what you get:

Exactly-once processing is an end-to-end guarantee and the application has to be designed to not violate the property as well.(Narkhede and Wang 2017)

If the component cannot promise the property, the promise has to live somewhere else. Two practical consequences: