Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph.mantuano committed Jul 17, 2019
2 parents e125098 + a0d9dee commit f003437
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Expand Up @@ -2,3 +2,27 @@

Apache Kafka implementation of Norconex Committer.

# Configuration

When used with a Norconex Collector, you can use the following XML to configure Apache Kafka as the <committer> section of your Norconex Collector configuration:

<committer class="net.danizen.norconex.committer.kafka.KafkaCommitter">
<brokerList>...</brokerList>
<topicName>...</topicName>

<sourceReferenceField keep="[false|true]">...</sourceReferenceField>
<sourceContentField keep="[false|true]">...</sourceContentField>
<targetContentField>...</targetContentField>
<queueDir>...</queueDir>
<queueSize>...</queueSize>
<commitBatchSize>...</commitBatchSize>
<maxRetries>...</maxRetries>
<maxRetryWait>...</maxRetryWait>
</committer>

Tag Descriptions:

| Tag | Description |
| ------------- |:-------------:|
| brokerList | Comma delimited list of host URLs to connect to a Kafka Broker of Cluster |
| topicName | Kafka Topic to where the committer publish messages |

0 comments on commit f003437

Please sign in to comment.