Hi Christo, Thanks for reviewing the KIP.
The follower needs the earliest-pending-upload-offset (and the corresponding leader epoch) from the leader. This is the first offset the follower will have locally. Regards, Abhijeet. On Fri, Mar 29, 2024 at 1:14 PM Christo Lolov <christolo...@gmail.com> wrote: > Heya! > > First of all, thank you very much for the proposal, you have explained the > problem you want solved very well - I think a faster bootstrap of an empty > replica is definitely an improvement! > > For my understanding, which concrete offset do you want the leader to give > back to a follower - earliest-pending-upload-offset or the > latest-tiered-offset? If it is the second, then I believe KIP-1005 ought to > already be exposing that offset as part of the ListOffsets API, no? > > Best, > Christo > > On Wed, 27 Mar 2024 at 18:23, Abhijeet Kumar <abhijeet.cse....@gmail.com> > wrote: > > > Hi All, > > > > I have created KIP-1023 to introduce follower fetch from tiered offset. > > This feature will be helpful in significantly reducing Kafka > > rebalance/rebuild times when the cluster is enabled with tiered storage. > > > > > > > https://cwiki.apache.org/confluence/display/KAFKA/KIP-1023%3A+Follower+fetch+from+tiered+offset > > > > Feedback and suggestions are welcome. > > > > Regards, > > Abhijeet. > > >