Class TaskMetadata
- java.lang.Object
-
- org.apache.kafka.streams.processor.TaskMetadata
-
public class TaskMetadata extends Object
Represents the state of a single task running within aKafkaStreamsapplication.
-
-
Constructor Summary
Constructors Constructor Description TaskMetadata(String taskId, Set<TopicPartition> topicPartitions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()StringtaskId()Set<TopicPartition>topicPartitions()StringtoString()
-
-
-
Constructor Detail
-
TaskMetadata
public TaskMetadata(String taskId, Set<TopicPartition> topicPartitions)
-
-
Method Detail
-
taskId
public String taskId()
-
topicPartitions
public Set<TopicPartition> topicPartitions()
-
-