Skip to content

feat: Support raw pubsub events sent by the pubsub emulator#100

Merged
dazuma merged 1 commit intoGoogleCloudPlatform:mainfrom
dazuma:pr/pubsub-event
May 27, 2021
Merged

feat: Support raw pubsub events sent by the pubsub emulator#100
dazuma merged 1 commit intoGoogleCloudPlatform:mainfrom
dazuma:pr/pubsub-event

Conversation

@dazuma
Copy link
Contributor

@dazuma dazuma commented May 27, 2021

Fixes #85

@dazuma dazuma force-pushed the pr/pubsub-event branch from 32824e3 to 7d16611 Compare May 27, 2021 19:19
@dazuma dazuma merged commit 71cb8c7 into GoogleCloudPlatform:main May 27, 2021
@dazuma dazuma deleted the pr/pubsub-event branch May 27, 2021 19:38
matthewrobertson added a commit to GoogleCloudPlatform/functions-framework-java that referenced this pull request Jun 28, 2021
Currently, the functions frameworks are dependent on some private
dataplane event marshalling logic in order to correctly pass PubSub
events to background functions. This commit implements the same
marshalling logic in the FF in order to enable local development using
the PubSub emulator.

We have already made this change in other languages:
GoogleCloudPlatform/functions-framework-nodejs#272
GoogleCloudPlatform/functions-framework-ruby#100
GoogleCloudPlatform/functions-framework-python#121
GoogleCloudPlatform/functions-framework-go#70
matthewrobertson added a commit to GoogleCloudPlatform/functions-framework-java that referenced this pull request Jun 28, 2021
Currently, the functions frameworks are dependent on some private
dataplane event marshalling logic in order to correctly pass PubSub
events to background functions. This commit implements the same
marshalling logic in the FF in order to enable local development using
the PubSub emulator.

We have already made this change in other languages:
GoogleCloudPlatform/functions-framework-nodejs#272
GoogleCloudPlatform/functions-framework-ruby#100
GoogleCloudPlatform/functions-framework-python#121
GoogleCloudPlatform/functions-framework-go#70
matthewrobertson added a commit to GoogleCloudPlatform/functions-framework-java that referenced this pull request Jun 30, 2021
Currently, the functions frameworks are dependent on some private
dataplane event marshalling logic in order to correctly pass PubSub
events to background functions. This commit implements the same
marshalling logic in the FF in order to enable local development using
the PubSub emulator.

We have already made this change in other languages:
GoogleCloudPlatform/functions-framework-nodejs#272
GoogleCloudPlatform/functions-framework-ruby#100
GoogleCloudPlatform/functions-framework-python#121
GoogleCloudPlatform/functions-framework-go#70
matthewrobertson added a commit to GoogleCloudPlatform/functions-framework-java that referenced this pull request Jul 2, 2021
Currently, the functions frameworks are dependent on some private
dataplane event marshalling logic in order to correctly pass PubSub
events to background functions. This commit implements the same
marshalling logic in the FF in order to enable local development using
the PubSub emulator.

We have already made this change in other languages:
GoogleCloudPlatform/functions-framework-nodejs#272
GoogleCloudPlatform/functions-framework-ruby#100
GoogleCloudPlatform/functions-framework-python#121
GoogleCloudPlatform/functions-framework-go#70
matthewrobertson added a commit to GoogleCloudPlatform/functions-framework-java that referenced this pull request Jul 7, 2021
* unblock local development with the pubsub emulator

Currently, the functions frameworks are dependent on some private
dataplane event marshalling logic in order to correctly pass PubSub
events to background functions. This commit implements the same
marshalling logic in the FF in order to enable local development using
the PubSub emulator.

We have already made this change in other languages:
GoogleCloudPlatform/functions-framework-nodejs#272
GoogleCloudPlatform/functions-framework-ruby#100
GoogleCloudPlatform/functions-framework-python#121
GoogleCloudPlatform/functions-framework-go#70

* fix code style issues
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.

Unable to receive events from the local pubsub emulator

1 participant