Skip to main content
Unlisted page
This page is unlisted. Search engines will not index it, and only users having a direct link can access it.
Version: v1.4

Template in generator/

Generator templates select the source-side data path and lifecycle hooks. The default template is:

position: edge
pod-template:
image: generator
imagePullPolicy: Always
env:
- name: GEN_FILTER_NAME
value: simple
- name: GEN_GETTER_FILTER_NAME
value: simple
- name: GEN_PROCESS_NAME
value: simple
- name: GEN_COMPRESS_NAME
value: simple
- name: GEN_BSO_NAME
value: simple
- name: GEN_BSTO_NAME
value: simple
- name: GEN_ASO_NAME
value: simple
# interval in source seconds to schedule requests (e.g, 1 request for 1s video), 0 for request at each task
- name: REQUEST_SCHEDULING_INTERVAL
value: "1"
SettingPurpose
GEN_GETTER_FILTER_NAMEControls whether the next source batch may be fetched.
GEN_FILTER_NAMESelects frames from the fetched source batch.
GEN_PROCESS_NAME and GEN_COMPRESS_NAMETransform and encode accepted frames.
GEN_BSO_NAMEBuilds the Scheduler request before a schedule decision.
GEN_ASO_NAMEApplies the validated Scheduler response to Generator state.
GEN_BSTO_NAMEEnriches the materialized task immediately before submission.
REQUEST_SCHEDULING_INTERVALReuses a schedule for the configured amount of source time; 0 requests a schedule for every task.

The Generator filters an ingestion round, reserves the root task identity, requests a schedule when due, and only then materializes and submits source data with that identity. Policy-specific Generator templates may select scheduler-permitted admission, bursty arrivals, adaptive encoding, or other registered hook aliases.