The response relies on the position of each fetch response matching the position of the corresponding fetch request.
Jun On Tue, May 15, 2012 at 10:38 AM, Petar Maymounkov <pe...@tumblr.com> wrote: > So this is the same format as regular fetch then. > > What confuses me is how you differentiate which messages > are in response to which part of the multifetch request. > > Thanks > Petar > > > On Tue, May 15, 2012 at 12:07 PM, Jun Rao <jun...@gmail.com> wrote: > > > It's a 4-byte fetch count, followed by a 2-byte error code, followed by a > > list of ByteBufferMessageSet. The details can be in the > MultiFetchResponse > > class. > > > > Jun > > > > On Tue, May 15, 2012 at 7:43 AM, Petar Maymounkov <pe...@tumblr.com> > > wrote: > > > > > Hi all, > > > > > > The kafka doc "Writing a Kafka driver" does not seem to > > > have the format of the multi-fetch response. > > > > > > (Surely it is not the same as the fetch response). > > > > > > Can anyone point me to a place where I can read about it? > > > > > > Thanks > > > Petar > > > > > >