Skip to content

Unable to use functions-framework-python with pubsub beta emulator #73

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
creativeappdevamit opened this issue Jul 20, 2020 · 1 comment

Comments

@creativeappdevamit
Copy link

Following the README.md, I am able to trigger functions but I am expecting 'data' as a part of the event but unfortunately the message being passed from google beta emulatar is in the following format:

{
      "subscription": "projects/test/subscriptions/test1",
      "message": {
        "data": "TWVzc2FnZSBudW1iZXIgNA==",
        "messageId": "4",
        "attributes": {}
      },
      "id": 3
    }

Is there something I am missing? Please guide!

@di
Copy link
Member

di commented Jul 20, 2020

Thanks for the report. This is a duplicate of #23.

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