Interface TaskInfo
public interface TaskInfo
A simple container class corresponding to a given
TaskId. Includes metadata such as whether it's stateful and the names of all state stores belonging to this task, the set of input topic partitions and changelog topic partitions for all logged state stores, and the rack ids of all replicas of each topic partition in the task.Method Summary
Method Details
id
TaskId id()- Returns:
- The
TaskIdof the underlying task.
isStateful
boolean isStateful()- Returns:
- true if the underlying task is stateful, and false otherwise.
stateStoreNames
topicPartitions
Set<TaskTopicPartition> topicPartitions()- Returns:
- the set of topic partitions in use for this task.