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

[Python/CloudEvents] JobSink Integration / Long Running Functions #2589

Open
pierDipi opened this issue Nov 25, 2024 · 1 comment
Open

[Python/CloudEvents] JobSink Integration / Long Running Functions #2589

pierDipi opened this issue Nov 25, 2024 · 1 comment

Comments

@pierDipi
Copy link
Member

pierDipi commented Nov 25, 2024

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

  • when the env variable K_EXECUTION_MODE is equal to batch the python 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")
@pierDipi pierDipi changed the title [Python] JobSink Integration / Long Running Functions [Python/CloudEvents] JobSink Integration / Long Running Functions Nov 25, 2024
@pierDipi
Copy link
Member Author

pierDipi commented Nov 26, 2024

For this one, we will need to update the new python library: https://github.com/knative-extensions/func-python

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