KAFKA-1252 Implement retries in new producer.
Fix compile issue from last commit. Oops. :-(