io.gearpump.streaming.appmaster
TaskRegistry is used to track the registration of all tasks when one application is booting up.
When a task is booted, it need to call registerTask to register itself.
When a task is booted, it need to call registerTask to register itself. If this task is valid, then accept it, otherwise reject it.
TaskRegistry is used to track the registration of all tasks when one application is booting up.