Hello Gerrit community,
Thank you for guiding me for building a proof-of-concept for gerrit multi-site. We are thinking to use it for production. I have following questions in regards to production deployment:
Setup:
2 gerrit v3.2.6 hosts in separate data centers ( one with read-write permission and another with read-only)
As of now, we use following plugins
- websession-broker
- zookeeper-refdb
- Kafka-events
- multi-site
- replication
Questions:
1. How to configure one gerrit instance as read-only? As of now, in my proof-of-concept both gerrit instances are in read-write mode.
2. Currently, I look at dashboard and count number of projects on each instances to determine whether they are in-sync or not. Is there a better way to do this?
3. I have following config on both Gerrit instances. There is no plugin configuration page for kafka-events. Not sure about, how will plugin deal with kafka unavailability.
$ cat gerrit.config
[gerrit]
.....
.....
[plugin "kafka-events"]
sendAsync = true
bootstrapServers = kafka:9092
groupId = instance-1
numberOfSubscribers = 6
pollingIntervalMs = 1000
enableAutoCommit = true
autoCommitIntervalMs = 1000
autoOffsetReset = latest
--
Thanks,
Jigar R