Skip to content

armgit / nutch

Public Imported from GitHub
0

Apache Nutch is an extensible and scalable web crawler

Fixes for NUTCH-2333: Added the properties for RabbitMQ indexer.

r0ann3l594564b27258
diff --git a/conf/nutch-default.xml b/conf/nutch-default.xml
index ea7df89a6..a995ccc48 100644
--- a/conf/nutch-default.xml
+++ b/conf/nutch-default.xml
@@ -1886,7 +1886,62 @@ visit https://wiki.apache.org/nutch/SimilarityScoringFilter-->
last operation.</description>
</property>
-<!-- subcollection properties -->
+<!-- RabbitMQ indexer properties -->
+
+<property>
+ <name>rabbitmq.indexer.server.host</name>
+ <value></value>
+ <description>
+ Host on which the RabbitMQ server is running. Default "localhost".
+ </description>
+</property>
+
+<property>
+ <name>rabbitmq.indexer.server.port</name>
+</property>
+
+<property>
+ <name>rabbitmq.indexer.exchange.server</name>
+ <value></value>
+ <description>
+ Name for the exchange server to use. Default - "fetcher_log"
+ </description>
+</property>
+
+<property>
+ <name>rabbitmq.indexer.exchange.type</name>
+ <value></value>
+ <description>
+ There are a few exchange types available: direct, topic, headers and fanout. Default "fanout".
+ </description>
+</property>
+
+<property>
+ <name>rabbitmq.indexer.queue.durable</name>
+ <value></value>
+ <description>
+ Choose the type of Queue being used (ex - RabbitMQ, ActiveMq, Kafka, etc).
+ Currently there exists an implemtation for RabbitMQ producer.
+ </description>
+</property>
+
+<property>
+ <name>rabbitmq.indexer.queue.routingkey</name>
+ <value></value>
+ <description>
+ The routingKey used by publisher to publish messages to specific queues. If the exchange type is "fanout", then this property is ignored.
+ </description>
+</property>
+
+<property>
+ <name>rabbitmq.indexer.commit.size</name>
+ <value></value>
+ <description>
+ The routingKey used by publisher to publish messages to specific queues. If the exchange type is "fanout", then this property is ignored.
+ </description>
+</property>
+
+ <!-- subcollection properties -->
<property>
<name>subcollection.default.fieldname</name>