Hi Jack,

I mean a DTO. That means you can add additional parameters later without
breaking compatibility. The current proposal would result in yet another
method each time we need to add parameters.

Ismael

On Sun, Aug 20, 2023 at 4:53 AM Jack Tomy <jacktomy...@gmail.com> wrote:

> Hey Ismael,
>
> Are you suggesting to pass a param like a DTO or you are suggesting to pass
> the record object?
>
> I would also like to hear other devs' opinions on this as I personally
> favour what is done currently.
>
> On Thu, Aug 17, 2023 at 9:34 AM Ismael Juma <m...@ismaeljuma.com> wrote:
>
> > Hi,
> >
> > Thanks for the KIP. The problem outlined here is a great example why we
> > should be using a record-like structure to pass the parameters to a
> method
> > like this. Then we can add more parameters without having to introduce
> new
> > methods. Have we considered this option?
> >
> > Ismael
> >
> > On Mon, Aug 7, 2023 at 5:26 AM Jack Tomy <jacktomy...@gmail.com> wrote:
> >
> > > Hey everyone.
> > >
> > > I would like to call for a vote on KIP-953: partition method to be
> > > overloaded to accept headers as well.
> > >
> > > KIP :
> > >
> >
> https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=263424937
> > > Discussion thread :
> > > https://lists.apache.org/thread/0f20kvfqkmhdqrwcb8vqgqn80szcrcdd
> > >
> > > Thanks
> > > --
> > > Best Regards
> > > *Jack*
> > >
> >
>
>
> --
> Best Regards
> *Jack*
>

Reply via email to