This is Gerrit plugin.
This can publish gerrit events to message queue provided by RabbitMQ. Published events are the same as Gerrit stream evnets.
This plugin works on Gerrit 2.8 or later.
Buck is a build system now gerrit adopt. If you want to use Buck, you need to setup it referring Building with Buck in gerrit documentation.
linux
java-1.7
maven-3.0.4
buck
Using maven
mvn package
Using buck
git clone git clone https://gerrit.googlesource.com/gerrit ln -s $(pwd) gerrit/plugins/rabbitmq cd gerrit buck build plugins/rabbitmq:rabbitmq
maven
Now avaliable for Gerrit 2.8.1 only. If you want to use it on another version of Gerrit, please try the below.
mvn package -DGerrit-ApiVersion=2.8
buck
After clone gerrit, you can checkout specified version.
git checkout -b v2.8 refs/tags/v2.8
[amqp] uri = amqp://localhost [exchange] name = exchange-for-gerrit-queue [message] routingKey = com.foobar.www.gerrit [gerrit] name = foobar-gerrit hostname = www.foobar.com
1.3
1.2
1.1
monitor.failureCount
1.0
The Apache Software License, Version 2.0
Copyright (c) 2013 rinrinne a.k.a. rin_ne