THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
/** * Represents the state of a single task running within a {@link KafkaStreams} application. */ public interface TaskMetadata { /** * @return the basic task metadata such as subtopology and partition id */ public TaskId taskId(); /** * This function will return a set of the current TopicPartitions */ public Set<TopicPartition> topicPartitions(); /** * This function will return a map of TopicPartitions and the highest committed offset seen so far */ public Map<TopicPartition, Long> committedOffsets(); /** * This function will return a map of TopicPartitions and the highest offset seen so far in the Topic */ public Map<TopicPartition, Long> endOffsets(); /** * This function will return the time task idling started, if the task is not currently idling it will return empty */ public Optional<Long> timeCurrentIdlingStarted(); } |
...