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

gcp adapter | support for CloudFunctions gen2 #1092

Open
sebastiankonieczek opened this issue Nov 8, 2023 · 0 comments
Open

gcp adapter | support for CloudFunctions gen2 #1092

sebastiankonieczek opened this issue Nov 8, 2023 · 0 comments

Comments

@sebastiankonieczek
Copy link

Is your feature request related to a problem? Please describe.
GCP CloudFunctions gen2 use CloudEvents as event format when creating a trigger function.
With spring-cloud-function-adapter-gcp only the old RawBackgroundFunction interface is supported.
This is really annoying as one needs to stick to GCP CloudFunction gen1

See: https://cloud.google.com/functions/docs/concepts/version-comparison

Describe the solution you'd like
The FunktionInvoker class should also implement the CloudEventsFunction interface from com.google.cloud.functions:functions-framework-api and support conversion of the payload to CloudEvents.

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

1 participant