commit | 576ba6b75891a5a1f7e0c9f4f0d108c08621f3c9 | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Thu Oct 13 23:41:48 2016 +0100 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Sat Oct 15 20:43:01 2016 +0000 |
tree | 9c0e10ebce5eb2752a222b9bd59760bd25cf163e | |
parent | 1d5e2056b3d05f0cabc26f8cea2df85d031591aa [diff] |
Initial code-base of stream events to Kafka topic Publish Gerrit stream events to a Kafka topic called 'gerrit'. Change-Id: I8c15dea904bcbcffaae38254ceb5beac61661c40
This plugins allows to define a distributed stream of events published by Gerrit.
Events can be anything, from the traditional stream events to the Gerrit metrics.
This plugin requires Gerrit 2.13 or laster.
linux
java-1.8
Buck
Clone or link this plugin to the plugins directory of Gerrit's source tree, and issue the command:
buck build plugins/kafka
The output is created in
buck-out/gen/plugins/kafka/kafka.jar
Assuming a running Kafka broker on the same Gerrit host, add the following settings to gerrit.config:
[plugin "kafka"] server = localhost:9092 topic = gerrit-events