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.kr...@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 <jun...@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.kr...@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 > > > > > >