Class TaskMetadata
java.lang.Object
org.apache.kafka.streams.processor.TaskMetadata
Deprecated.
Represents the state of a single task running within a
KafkaStreams application.-
Constructor Summary
ConstructorsConstructorDescriptionTaskMetadata(String taskId, Set<TopicPartition> topicPartitions, Map<TopicPartition, Long> committedOffsets, Map<TopicPartition, Long> endOffsets, Optional<Long> timeCurrentIdlingStarted) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.This function will return a map of TopicPartitions and the highest committed offset seen so farDeprecated.This function will return a map of TopicPartitions and the highest offset seen so far in the TopicbooleanDeprecated.inthashCode()Deprecated.taskId()Deprecated.Deprecated.This function will return the time task idling started, if the task is not currently idling it will return emptyDeprecated.toString()Deprecated.
-
Constructor Details
-
TaskMetadata
public TaskMetadata(String taskId, Set<TopicPartition> topicPartitions, Map<TopicPartition, Long> committedOffsets, Map<TopicPartition, Long> endOffsets, Optional<Long> timeCurrentIdlingStarted) Deprecated.
-
-
Method Details
-
taskId
Deprecated.- Returns:
- the basic task metadata such as subtopology and partition id
-
topicPartitions
Deprecated. -
committedOffsets
Deprecated.This function will return a map of TopicPartitions and the highest committed offset seen so far -
endOffsets
Deprecated.This function will return a map of TopicPartitions and the highest offset seen so far in the Topic -
timeCurrentIdlingStarted
Deprecated.This function will return the time task idling started, if the task is not currently idling it will return empty -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-
TaskMetadatainstead.