Assign resource to application based on the priority of the application
Scheduler schedule resource for different applications.
Each streaming job can have a priority, the job with higher priority will get scheduled resource earlier than those with lower priority.
Relaxation.ONEWORKER means only resource (slot) from that worker will be accepted by the requestor application job.