kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jun Rao <jun...@gmail.com>
Subject Re: MessageSet.getSerialized()
Date Tue, 04 Sep 2012 23:23:26 GMT
Currently, getSerialized() is only used when constructing a sendByteBuffer
from a ProducerRequest.

Thanks,

Jun

On Tue, Sep 4, 2012 at 3:35 PM, Jay Kreps <jay.kreps@gmail.com> wrote:

> But isn't a MessageSet always also a byte-standardized representation? I
> can't figure out from the docs or usage what this is for...
>
> -Jay
>
> On Tue, Sep 4, 2012 at 2:54 PM, Jun Rao <junrao@gmail.com> wrote:
>
> > It's getting the binary representation of a set of messages. Probably it
> > can be changed to something like getBinary()?
> >
> > Thanks,
> >
> > Jun
> >
> > On Tue, Sep 4, 2012 at 12:52 PM, Jay Kreps <jay.kreps@gmail.com> wrote:
> >
> > > It seems really kludgey that MessageSet would have a getSerialized()
> > > method. What does being a set of messages have to do with
> serialization?
> > >
> > > -Jay
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message