Updated Kafka producer. This producer has the following changes: