Hi Guozhang, Thanks very much, this was really useful. Jamie
-----Original Message----- From: Guozhang Wang <wangg...@gmail.com> To: users <users@kafka.apache.org> Sent: Tue, 23 Jul 2019 2:40 Subject: Re: Truncation Hi Jamie, The most relevant materials I can think of would be in KIP-101: https://cwiki.apache.org/confluence/display/KAFKA/KIP-101+-+Alter+Replication+Protocol+to+use+Leader+Epoch+rather+than+High+Watermark+for+Truncation Although it is a bit out-dated it still contains most significant design key ideas here. Guozhang On Thu, Jul 18, 2019 at 11:47 PM Jamie <jamied...@aol.co.uk.invalid> wrote: > Hi All, > Could someone confirm what truncation happens when a partition changes > from a follower to a leader and why? > Any help would be greatly appreciated. > Many Thanks, > Jamie -- -- Guozhang