commit | fbbfb309717376f464ae76dcf9e3b61a0225c862 | [log] [tgz] |
---|---|---|
author | David Åkerman <davidak@axis.com> | Wed Sep 04 16:39:34 2024 +0200 |
committer | David Åkerman <davidak@axis.com> | Mon Sep 16 08:48:45 2024 +0200 |
tree | 11d31ef955b512571d7b53ffe969fa9df83b2baf | |
parent | 55e2ef1690661aa4c0e1c609e60cee07d0ea782b [diff] |
Add support for consumer prefetch If no consumer prefetch is set it becomes unlimited which means that the rabbitmq server will send as many events as it can, this can cause the client to be overwhelmed and make it slow to respond. When the client respond to slowly the server may decide to close the connection which causes the channels and consumers to be lost. With a limited consumer prefetch we can prevent this. Bug: Issue 366272560 Change-Id: I599aa024202597c468bd3f792ec0931f40a495f9
Publish gerrit stream events to a RabbitMQ queue. This plugin works with any version of Gerrit starting from v2.8. This plugin also implements most of the events-broker API, so RabbitMQ can be used as a message-broker in a multi-master setup. The one part that is missing is the implementation of the replayAllEvents method. However, this method is not needed by the multi-site plugin.
linux
java-1.8
Bazel
[amqp] uri = amqp://localhost [exchange] name = exchange-for-gerrit-queue [message] routingKey = com.foobar.www.gerrit [gerrit] name = foobar-gerrit hostname = www.foobar.com
3.14 (Freezed)
stable-2.10
master
is permanently latest but would not be updated by author anymore.3.1
3.0
2.0
1.4
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