Class TaskAssignorException

All Implemented Interfaces:
Serializable

@Public @Evolving public class TaskAssignorException extends ApiException
Exception thrown by TaskAssignor.assign(GroupSpec, TopologyDescriber) when the group's tasks cannot be assigned. Custom TaskAssignor implementations should throw this exception to signal an assignment failure.
See Also:
  • Constructor Details

    • TaskAssignorException

      public TaskAssignorException(String message)
    • TaskAssignorException

      public TaskAssignorException(String message, Throwable cause)