Thank you, Bill and Sophie. @Bill: You are right. I updated the KIP. @Sophie: Yes, it was also our concern, but we thought we should keep the current constructor in order to not break the user's code who has called this constructor in their code.
Thanks, Alieh On Fri, Sep 27, 2024 at 1:07 AM Sophie Blee-Goldman <sop...@responsive.dev> wrote: > Should we deprecate the old constructor to make sure that all info gets > passed in when creating a ConsumerRecords instance? > > On Thu, Sep 26, 2024 at 3:37 PM Bill Bejeck <bbej...@apache.org> wrote: > > > Hi Alieh, > > > > Thanks for the KIP, it will be very useful to Kafka Streams. > > I have one comment. In the "Proposed Changes" section, you mention the > > "The `nextOffsets` object contains the next offset and the last leader > > epoch per partition". > > If understand the KIP correctly, it should be something along the lines > of > > "The `nextOffsets` method returns a map of `TopicPartition` to > > `OffsetAndMetadata` objects and `OffsetAndMetadata` contains the next > > offset and the last leader epoch per partition" > > > > Other than that, the KIP LGTM. > > > > Thanks, > > Bill > > > > > > On Wed, Sep 25, 2024 at 7:43 AM Alieh Saeedi > <asae...@confluent.io.invalid > > > > > wrote: > > > > > Hi all, > > > > > > I would like to open a discussion for KIP-1094: Add a new constructor > > > method with `nextOffsets` to `ConsumerRecords`. > > > > > > You can find the detailed proposal here: > > > > > > > > > https://cwiki.apache.org/confluence/display/KAFKA/KIP-1094%3A+Add+a+new+constructor+method+with+nextOffsets+to+ConsumerRecords > > > > > > I look forward to your feedback and suggestions. > > > > > > Thanks, > > > Alieh > > > > > >