Skip to content

Add pubsub module#150

Merged
yuri-sergiichuk merged 11 commits intomasterfrom
add-pubsub-module
Jun 24, 2020
Merged

Add pubsub module#150
yuri-sergiichuk merged 11 commits intomasterfrom
add-pubsub-module

Conversation

@yuri-sergiichuk
Copy link
Contributor

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.

@yuri-sergiichuk yuri-sergiichuk self-assigned this Jun 24, 2020
@yuri-sergiichuk yuri-sergiichuk marked this pull request as ready for review June 24, 2020 11:21
Copy link
Contributor

@armiol armiol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yuri-sergiichuk LGTM with a comment to address before merging.

@@ -0,0 +1,66 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure why this file is called pubsub_push.proto. pubsub is present in both package name and library names.

push.proto is enough.

@yuri-sergiichuk yuri-sergiichuk merged commit 6d7af97 into master Jun 24, 2020
@yuri-sergiichuk yuri-sergiichuk deleted the add-pubsub-module branch June 24, 2020 14:19
@dmitrykuzmin dmitrykuzmin mentioned this pull request Sep 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants