Class ListOffsetsApplicationEvent

java.lang.Object
org.apache.kafka.clients.consumer.internals.events.ApplicationEvent
org.apache.kafka.clients.consumer.internals.events.CompletableApplicationEvent<Map<org.apache.kafka.common.TopicPartition,OffsetAndTimestamp>>
org.apache.kafka.clients.consumer.internals.events.ListOffsetsApplicationEvent
All Implemented Interfaces:
CompletableEvent<Map<org.apache.kafka.common.TopicPartition,OffsetAndTimestamp>>

public class ListOffsetsApplicationEvent extends CompletableApplicationEvent<Map<org.apache.kafka.common.TopicPartition,OffsetAndTimestamp>>
Event for retrieving partition offsets by performing a ListOffsetsRequest. This event is created with a map of TopicPartition and target timestamps to search offsets for. It is completed with the map of TopicPartition and OffsetAndTimestamp found (offset of the first message whose timestamp is greater than or equals to the target timestamp)