bpot/poseidon — pull request #35 by sclasen (2014-05-16 18:24:14+00:00)
Title: check produce responses for errors

check for errors when required acks > 0, refresh metadata on NotLeaderForPartition.

Im seeing quite a bit of these in my kafka logs, coming from poseidon producers, even for topics that have not been recently rebalanced.

```
WARN Produce request with correlation id 14 from client x.3865 on partition [,]failed due to Leader not local for partition [,] on broker X (kafka.server.KafkaApis)
```

hoping this patch will detect and fix that situation...