Allow subscribing to the topic with custom group id

In the past, when utilizing pull-replication as a standalone solution
in conjunction with a broker (inclusive of plugins such as events-kafka,
events-aws-kinesis, events-gcloud-pubsub), the consumer's groupId was
defined either within the events-* plugin configuration or, in the
absence of configuration, as "gerrit.instance-id."

Thanks to a new feature in events-broker, since v3.4.8-4-gd9f859f, it is
possible to define a different group id by configuring
"replication.eventBrokerGroupId" in the replication.conf.

NOTE: This feature is applicable only if the the events-* plugin
implements the ExtendedBrokerApi interface, which supports the ability
to subscribe to a topic with a custom group id.

Bug: Issue 299327285
Change-Id: I33d056ebd3e80b6a4c9d8eb02a0c2c1b591e8eb5
5 files changed
tree: 7f04b4b8fcc1c3b183934834a05bcee4ca0ee875
  1. example-setup/
  2. src/
  3. .gitignore
  4. BUILD
  5. Jenkinsfile
  6. LICENSE