Handle broker rebalances

Previously we were ignoring error values in the producer reponse.
We now leadership related errors and retry those messages.

Includes an integration test.
Ah yeah I flipped it around after I wrote the comment.