mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-11-15 18:34:03 +00:00
new style kafka configuration properties
This commit is contained in:
1 parent
d2f70e5c97
commit
e2be3bbf9c
1 file changed
+2
-2
@@ -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