Skip to content
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

How to receive CloudEvent triggers? #226

Open
black-snow opened this issue Jun 14, 2024 · 1 comment
Open

How to receive CloudEvent triggers? #226

black-snow opened this issue Jun 14, 2024 · 1 comment

Comments

@black-snow
Copy link

black-snow commented Jun 14, 2024

EventGrid can send events in CloudEvents v1 format - but how do I receive them in a function? I expected to see a func.CloudEvent just like func.EventGridEvent or some transformation, but "CloudEvent" yields 0 hits in this repo.

get_json() seems to give me the payload (.data), but what about the metadata? What about extension attributes?

@kevin-benton
Copy link

This would also be beneficial for the dapr pubsub bindings.

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