new style kafka configuration properties

This commit is contained in:
Noah Levitt
2014-11-06 19:53:41 -08:00
parent d2f70e5c97
commit e2be3bbf9c
@@ -170,8 +170,8 @@ public class KafkaCrawlLogFeed extends Processor implements Lifecycle {
synchronized (this) {
if (kafkaProducer == null) {
Properties props = new Properties();
props.put("metadata.broker.list", getBrokerList());
props.put("request.required.acks", "1");
props.put("bootstrap.servers", getBrokerList());
props.put("acks", "1");
props.put("producer.type", "async");
kafkaProducer = new KafkaProducer(props);
}