-
Notifications
You must be signed in to change notification settings - Fork 139
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
feature request: JobSink Integration / Long Running Functions #2586
Comments
This was referenced Nov 25, 2024
pierDipi
added a commit
to pierDipi/eventing
that referenced
this issue
Nov 25, 2024
To support long running functions in Knative Functions, we will inject a `KNATIVE_EXECUTION_MODE` environment variable with value `batch` so that function can change it's runtime behavior to read the event file rather than starting a long-running server. Ref: knative/func#2586 Signed-off-by: Pierangelo Di Pilato <[email protected]>
pierDipi
added a commit
to pierDipi/eventing
that referenced
this issue
Nov 25, 2024
To support long running functions in Knative Functions, we will inject a `KNATIVE_EXECUTION_MODE` environment variable with value `batch` so that function can change it's runtime behavior to read the event file rather than starting a long-running server. Ref: knative/func#2586 Signed-off-by: Pierangelo Di Pilato <[email protected]>
pierDipi
added a commit
to pierDipi/eventing
that referenced
this issue
Nov 25, 2024
To support long running functions in Knative Functions, we will inject a `KNATIVE_EXECUTION_MODE` environment variable with value `batch` so that function can change it's runtime behavior to read the event file rather than starting a long-running server. Ref: knative/func#2586 Signed-off-by: Pierangelo Di Pilato <[email protected]>
pierDipi
added a commit
to pierDipi/eventing
that referenced
this issue
Nov 25, 2024
To support long running functions in Knative Functions, we will inject a `KNATIVE_EXECUTION_MODE` environment variable with value `batch` so that function can change it's runtime behavior to read the event file rather than starting a long-running server. Ref: knative/func#2586 Signed-off-by: Pierangelo Di Pilato <[email protected]>
knative-prow bot
pushed a commit
to knative/eventing
that referenced
this issue
Nov 26, 2024
…value `batch` (#8346) JobSink: Inject execution mode as env variable To support long running functions in Knative Functions, we will inject a `KNATIVE_EXECUTION_MODE` environment variable with value `batch` so that function can change it's runtime behavior to read the event file rather than starting a long-running server. Ref: knative/func#2586 Signed-off-by: Pierangelo Di Pilato <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Usecase
We are evaluating using KNative in our organization and one of our usecases are long-running event handlers -- Think 5-120 minutes. We would like to use KNative Functions but from reading the documentations we believe we would run into trouble with such usecases.
JobSink
We saw the
JobSink
capability in theEvent
system, but it does not appear to cleanly integrate with theknative functions
concept.(We would have to produce our own docker images and surrounding runtime to forward in the mounted event to our handler.)
Dev Notes
I reached out to @pierDipi who implemented the
JobSink
and they had the following to share:https://cloud-native.slack.com/archives/C04LGHDR9K7/p1732225883467409?thread_ts=1732216204.039569&channel=C04LGHDR9K7&message_ts=1732225883.467409
I'm very new to this platform, but the above should work well for our usecase and seems to fit well with the existing platform conventions.
The text was updated successfully, but these errors were encountered: