I have an apache beam program in java running with direct runner. Apache beam uses threads in order to achieve distributed processing.
- At run time how can I know the number of threads spawned by apache beam?
- How can I set the maximum of number of threads to use at run time?