Make send method async

Currently, the event broker only exposes a synchronous method (send)
to publish events.

However, the implementations (i.e.: Kafka, Kinesis, PubSub), have
both sync and async functionality.

The client would not be able, at the moment, to trigger some logic
on future resolution.

Change-Id: Icaa16348142fcc8372191c005d064b7d5efc7370
3 files changed
tree: 7bb294e8adb02415d7127e3a349ad06468bd5e84
  1. src/
  2. .gitignore
  3. BUILD
  4. Jenkinsfile
  5. LICENSE
  6. pom.xml
  7. README.md
README.md

Events Broker API for Gerrit Code Review

API of a generic events broker for use with Gerrit Code Review.

Enables the de-coupling between Gerrit, plugins and the different implementations of a generic events broker.