Interface TaskMetadata
public interface TaskMetadata
Metadata of a task.
-
Method Summary
Modifier and TypeMethodDescriptionOffsets of the source topic partitions committed so far by the task.End offsets of the source topic partitions of the task.booleanCompares the specified object with this TaskMetadata.inthashCode()Returns the hash code value for this TaskMetadata.taskId()Task ID of the task.Time task idling started.Set<org.apache.kafka.common.TopicPartition> Source topic partitions of the task.
-
Method Details
-
taskId
-
topicPartitions
Set<org.apache.kafka.common.TopicPartition> topicPartitions()Source topic partitions of the task.- Returns:
- source topic partitions
-
committedOffsets
-
endOffsets
-
timeCurrentIdlingStarted
-
equals
Compares the specified object with this TaskMetadata. Returnstrueif and only if the specified object is also a TaskMetadata and bothtaskId()andtopicPartitions()are equal. -
hashCode
-