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



clients/src/main/java/org/apache/kafka/clients/producer/internals/Sender.java
<https://reviews.apache.org/r/19953/#comment71801>

    Can we remove this sentence now since it is replaced with the previous list?



clients/src/main/java/org/apache/kafka/clients/producer/internals/Sender.java
<https://reviews.apache.org/r/19953/#comment71803>

    The comment and the function name are opposite; and its logic obeys the 
comment description. In that case, we should remove "!" in the 
"!this.inFlightRequests.hasOutstandingRequests(node.id())" condition.


- Guozhang Wang


On April 2, 2014, 6:49 p.m., Jun Rao wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/19953/
> -----------------------------------------------------------
> 
> (Updated April 2, 2014, 6:49 p.m.)
> 
> 
> Review request for kafka.
> 
> 
> Bugs: KAFKA-1303
>     https://issues.apache.org/jira/browse/KAFKA-1303
> 
> 
> Repository: kafka
> 
> 
> Description
> -------
> 
> Changes are described in the comment of selectMetadataDestination().
> 
> 
> 1. Added the logic to use bootstrap cluster if no node can be selected from 
> the real cluster. 2. Fixed the issue that node is not selected randomally.
> 
> 
> Diffs
> -----
> 
>   
> clients/src/main/java/org/apache/kafka/clients/producer/internals/Sender.java 
> 855ae84f14aa91653b3fa855c2af40560323f42a 
> 
> Diff: https://reviews.apache.org/r/19953/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Jun Rao
> 
>

Reply via email to