Use leader when sending to a partition

This fixes production not working with multiple brokers.