> On July 21, 2014, 6:16 p.m., Guozhang Wang wrote:
> > core/src/main/scala/kafka/tools/DumpLogSegments.scala, line 165
> > <https://reviews.apache.org/r/23705/diff/3/?file=636778#file636778line165>
> >
> >     Would key also be null possibly?

This line is surrounded by if(msg.hasKey) check. 
msg.hasKey returns true for non-zero length keys. So we don't need any 
additional null check.


- Manikumar Reddy


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


On July 21, 2014, 3:16 p.m., Manikumar Reddy O wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/23705/
> -----------------------------------------------------------
> 
> (Updated July 21, 2014, 3:16 p.m.)
> 
> 
> Review request for kafka.
> 
> 
> Bugs: KAFKA-1192
>     https://issues.apache.org/jira/browse/KAFKA-1192
> 
> 
> Repository: kafka
> 
> 
> Description
> -------
> 
> Support given for custom deserialization of messages and keys
> 
> 
> Diffs
> -----
> 
>   core/src/main/scala/kafka/tools/DumpLogSegments.scala 
> 6daf87b25a48a51aafb7dbe8d0c0371e0ea7501f 
> 
> Diff: https://reviews.apache.org/r/23705/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Manikumar Reddy O
> 
>

Reply via email to