Data flows run on Spark clusters that are spun up at run-time. The configuration for the cluster used is defined in the integration runtime (IR) of the activity.
https://learn.microsoft.com/en-us/azure/data-factory/concepts-integration-runtime-performance
https://kromerbigdata.com/2019/11/07/adf-data-flows-start-a-larger-debug-session/