public interface TaskMetadata
Modifier and Type | Method and Description |
---|---|
Map<org.apache.kafka.common.TopicPartition,Long> |
committedOffsets()
Offsets of the source topic partitions committed so far by the task.
|
Map<org.apache.kafka.common.TopicPartition,Long> |
endOffsets()
End offsets of the source topic partitions of the task.
|
boolean |
equals(Object o)
Compares the specified object with this TaskMetadata.
|
int |
hashCode()
Returns the hash code value for this TaskMetadata.
|
TaskId |
taskId()
Task ID of the task.
|
Optional<Long> |
timeCurrentIdlingStarted()
Time task idling started.
|
Set<org.apache.kafka.common.TopicPartition> |
topicPartitions()
Source topic partitions of the task.
|
TaskId taskId()
Set<org.apache.kafka.common.TopicPartition> topicPartitions()
Map<org.apache.kafka.common.TopicPartition,Long> committedOffsets()
Map<org.apache.kafka.common.TopicPartition,Long> endOffsets()
Optional<Long> timeCurrentIdlingStarted()
Optional
if the task is currently not idlingboolean equals(Object o)
true
if and only if the specified object is
also a TaskMetadata and both taskId()
and topicPartitions()
are equal.