mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-23 14:15:47 +00:00
new style kafka configuration properties
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user