> On March 19, 2015, 3:58 a.m., Jun Rao wrote:
> > core/src/main/scala/kafka/message/ByteBufferMessageSet.scala, lines 43-55
> > <https://reviews.apache.org/r/31742/diff/2/?file=896448#file896448line43>
> >
> >     Instead of passing in a function, I think it will be easier to 
> > understand the logic if we just pass in the message list to 
> > messageWriter.write(). This way, all writes are inside messageWriter, 
> > instead of in two places.

I don't want to assume anything about the content of the payload in 
MessageWriter. MessageWrite is just for formatting a message.


- Yasuhiro


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/31742/#review76985
-----------------------------------------------------------


On March 16, 2015, 10:19 p.m., Yasuhiro Matsuda wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/31742/
> -----------------------------------------------------------
> 
> (Updated March 16, 2015, 10:19 p.m.)
> 
> 
> Review request for kafka.
> 
> 
> Bugs: KAFKA-527
>     https://issues.apache.org/jira/browse/KAFKA-527
> 
> 
> Repository: kafka
> 
> 
> Description
> -------
> 
> less byte copies
> 
> 
> Diffs
> -----
> 
>   core/src/main/scala/kafka/message/ByteBufferMessageSet.scala 
> 9c694719dc9b515fb3c3ae96435a87b334044272 
>   core/src/main/scala/kafka/message/MessageWriter.scala PRE-CREATION 
>   core/src/test/scala/unit/kafka/message/MessageWriterTest.scala PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/31742/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Yasuhiro Matsuda
> 
>

Reply via email to