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 SummaryConstructorsConstructorDescriptionTaskMetadata(String taskId, Set<TopicPartition> topicPartitions, Map<TopicPartition, Long> committedOffsets, Map<TopicPartition, Long> endOffsets, Optional<Long> timeCurrentIdlingStarted) Deprecated.
- 
Method SummaryModifier 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- 
TaskMetadatapublic TaskMetadata(String taskId, Set<TopicPartition> topicPartitions, Map<TopicPartition, Long> committedOffsets, Map<TopicPartition, Long> endOffsets, Optional<Long> timeCurrentIdlingStarted) Deprecated.
 
- 
- 
Method Details- 
taskIdDeprecated.- Returns:
- the basic task metadata such as subtopology and partition id
 
- 
topicPartitionsDeprecated.
- 
committedOffsetsDeprecated.This function will return a map of TopicPartitions and the highest committed offset seen so far
- 
endOffsetsDeprecated.This function will return a map of TopicPartitions and the highest offset seen so far in the Topic
- 
timeCurrentIdlingStartedDeprecated.This function will return the time task idling started, if the task is not currently idling it will return empty
- 
equalsDeprecated.
- 
hashCodepublic int hashCode()Deprecated.
- 
toStringDeprecated.
 
- 
TaskMetadatainstead.