Some parameters can be configured using Gerrit config file.
[plugin "kafka-events"] bootstrapServers = localhost:9092
All the Apache Kafka properties configuration needs to be defined in gerrit.config using a lower camel-case notation.
Example: bootstrapServers correspond to the Apache Kafka property bootstrap.servers.
See Apache Kafka Producer Config for a full list of available settings and the values allowed.
name | value |
---|---|
acks | all |
retries | 0 |
batchSize | 16384 |
lingerMs | 1 |
bufferMemory | 33554432 |
keySerializer | org.apache.kafka.common.serialization.StringSerializer |
valueSerializer | org.apache.kafka.common.serialization.StringSerializer |