Kafka purges old messages from both leaders and replicas. If there was a mistake in the book, can you tell me which chapter and page? We'll fix it.
Gwen On Wed, Apr 22, 2020, 7:51 AM Alex Bull <apoka...@gmail.com> wrote: > Hi, Dear Kafka Developers, > > I've read 'Kafka: The Definitive Guide' by Narkhede and others and I have a > following question. > On what side topic retention policies (delete or compact) are performed? > I have a guess that they work only on brokers that hold leader replica of > partition. > Or am I wrong ? > > With best regards, > Alex. >