Pim Claessens
11/28/2023, 2:21 PMMarvin
11/28/2023, 2:22 PMinfrastructure_pid
or infrastructure identifier. This identifier is composed of two parts: the Scope, which identifies where the infrastructure is running, and the ID, a unique identifier for the infrastructure within the scope.
The identifiers for the primary infrastructure types are as follows:
- Processes: The machine hostname and the PID.
- Docker Containers: The Docker API URL and container ID.
- Kubernetes Jobs: The Kubernetes API URL and job ID.
Please note that flow run cancellation requires the flow run to be associated with a deployment. A monitoring process must be running to enforce the cancellation. Inline subflow runs, i.e., those created without run_deployment
, cannot be cancelled without cancelling the parent flow run. If you may need to cancel a subflow run independent of its parent flow run, we recommend deploying it separately and starting it using the run_deployment
method.
For more detailed information, you can refer to the Prefect documentation here and here.Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.
Powered by