updated kafka producer to work on version 0.7