SpineEventEngine / gcloud-java

Support for Spine-based Java apps running under Google Cloud
https://spine.io
Apache License 2.0
3 stars 0 forks source link

Add pubsub module #150

Closed yuri-sergiichuk closed 4 years ago

yuri-sergiichuk commented 4 years ago

In this PR I have added a new pubsub module with a reusable PubsubPushRequest wrapper around the Pub/Sub push requests.

The reasoning for such a proto is that we've already created and recreated that same functionality internally 3 or 4 times and it doesn't look like the respective proto definition may appear in the official repo any time soon.

The defined proto could be used for endpoints that are used with Pub/Sub Push subscriptions in order to easily transform incoming JSON data into a respective Protobuf definition.