You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by karan alang <ka...@gmail.com> on 2017/06/21 18:54:08 UTC

New Kafka Producer or the Old One ???

Hello All -

I've *Kafka 0.9* & I'm running this command to publish records to Kafka
topics -

$KAFKA_HOME/bin/kafka-verifiable-producer.sh --topic mmtopic1
--max-messages 500 --broker-list
localhost:9092,localhost:9093,localhost:9094,localhost:9095
--producer.config $KAFKA_HOME/config/producer.properties

Does it use the new Kafka Producer or the Old (Simple or High level)
producer ?
Is there a configuration that determines this ?


Also how do i configure this to be Async Producer ?
When i  put the following in the config file - it Does Not recognize it.

   producer.type=async

Thanks for your help in advance !