----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/28040/#review61751 -----------------------------------------------------------
UnknownTopicOrPartitionException can be thrown either at the producer side when the cached metadata does not have the info for this partitionId, or thrown at the server side when the specified partition does not exist on the broker. So how about: Indicates one of the following situation: 1. Producer does not have the know the partition metadata for this id upon sending messages 2. Broker does not have the specified partition by id upon receiving messages core/src/main/scala/kafka/common/UnknownTopicOrPartitionException.scala <https://reviews.apache.org/r/28040/#comment103633> remove " (and the end " on line 23) - Guozhang Wang On Nov. 14, 2014, 4:57 p.m., Jiangjie Qin wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/28040/ > ----------------------------------------------------------- > > (Updated Nov. 14, 2014, 4:57 p.m.) > > > Review request for kafka. > > > Bugs: KAFKA-1770 > https://issues.apache.org/jira/browse/KAFKA-1770 > > > Repository: kafka > > > Description > ------- > > Modified doc for UnknownTopicOrPartitionException > > > Diffs > ----- > > core/src/main/scala/kafka/common/UnknownTopicOrPartitionException.scala > 781e551e5b78b5f436431575c2961fe15acd1414 > > Diff: https://reviews.apache.org/r/28040/diff/ > > > Testing > ------- > > > Thanks, > > Jiangjie Qin > >