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

[Rust/Cloudevents] JobSink Integration / Long Running Functions #2592

Open
pierDipi opened this issue Nov 25, 2024 · 0 comments
Open

[Rust/Cloudevents] JobSink Integration / Long Running Functions #2592

pierDipi opened this issue Nov 25, 2024 · 0 comments

Comments

@pierDipi
Copy link
Member

pierDipi commented Nov 25, 2024

As described in #2586, we need to integrate the Rust CloudEvents functions with JobSink

  • when the env variable K_EXECUTION_MODE is equal to batch the runtime will read the event from the file and pass it to the handler
  • If the function returns a new event it would be produced to an endpoint that is pointed by K_SINK env variable (if present) (so that you can use JobSink in combination with SinkBinding to have "job callbacks")
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