Skip to content

functions framework with google pub/sub emulator #74

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
baldrich-randori opened this issue Jul 28, 2020 · 1 comment
Closed

functions framework with google pub/sub emulator #74

baldrich-randori opened this issue Jul 28, 2020 · 1 comment

Comments

@baldrich-randori
Copy link

I am attempting to replicate our cloud functions locally but they all leverage pub/sub. I can easily use the pub/sub emulator but I don't see how to subscribe to a topic on the local emulator using the local cloud functions? Am I missing something, how would you be able to run this locally and emulate your workflow without this?

Would anyone have any recommendations on how to run the full stack locally for local development environments?

I was assuming I would be able to set the pub/sub emulator env var and the cloud function would automatically subscribe and pull like it does in our testing and production envs.

Thanks for the help!

@di
Copy link
Member

di commented Jul 29, 2020

Hi @baldrich-randori, thanks for reporting this issue.

The framework is not currently compatible with the Pub/Sub emulator (see #23). Once it is, we will document how to use them together.

Closing as a duplicate of #23.

@di di closed this as completed Jul 29, 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

No branches or pull requests

2 participants