Gerrit event producer for Apache Kafka

Clone this repo:
  1. 0c3c59f Remove buck build by Paladox none · 6 months ago master stable-2.14
  2. df65ae2 Add support for Bazel in Gerrit tree build by Paladox none · 6 months ago
  3. a00708d Reset current thread classLoader to avoid Kafka to use it by Luca Milanesio · 9 months ago stable-2.13
  4. 481e6e8 Fix repository and CI URL in README.md by Luca Milanesio · 9 months ago
  5. a5c676e Fix README instructions by Luca Milanesio · 10 months ago

Kafka: Gerrit event producer for Apache Kafka

Build Status

Synopsis

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.

Environments

  • linux
  • java-1.8
  • Buck

Build

Clone or link this plugin to the plugins directory of Gerrit's source tree, and issue the command:

buck build plugins/kafka-events

The output is created in

buck-out/gen/plugins/kafka-events/kafka-events.jar

Minimum Configuration

Assuming a running Kafka broker on the same Gerrit host, add the following settings to gerrit.config:

  [plugin "kafka-events"]
    bootstrapServers = localhost:9092