0.8.0 HEAD from 3/4/2013
Using a SimpleConsumer, connect to a Broker that is NOT the leader for the topic/partition you want to fetch, but IS a replica.
On fetch the error returned is '5' 'ErrorMapping.LeaderNotAvailableCode'
Per email thread with Neha:
"Ideally, you should get back ErrorMapping.NotLeaderForPartitionCode"
Key part of the test is the Broker must be a replica. If the topic/partition is not on the Broker you get a different (correct) error.
|Field||Original Value||New Value|
|Assignee||Neha Narkhede [ nehanarkhede ]|
|Status||Open [ 1 ]||Patch Available [ 10002 ]|
|Status||Patch Available [ 10002 ]||Resolved [ 5 ]|
|Resolution||Fixed [ 1 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|