Deserialize Event and EventMessage

From Gerrit v3.2 event contains instance id field. In version 3.4
EventMessage envelope will be replaced with Event. To allow rolling
upgrade compatibility between v3.3 and v3.4 need to be assured. To do
that PubSubEventSubscriber must be able to handle both message types.

Bug: Issue 14390
Change-Id: I690af72de6fbce59650a4fbe74e347d5d6cb6fb9
2 files changed
tree: a9384c52e137d197cc65d0d20bbb820294e0cbc1
  1. src/
  2. BUILD
  3. external_plugin_deps.bzl
  4. Jenkinsfile
  5. LICENSE
  6. README.md
README.md

events-gcloud-pubsub

Gerrit event producer and consumer for GCloud PubSub

Build

Information on how to build this plugin can be found here

Configuration

Information on how to configure this plugin can be found here