Matthias J. Sax created KAFKA-21507:
---------------------------------------
Summary: IQ metadata reports incorrect end-offset
Key: KAFKA-21507
URL: https://issues.apache.org/jira/browse/KAFKA-21507
Project: Kafka
Issue Type: Bug
Components: streams
Reporter: Matthias J. Sax
KafkaStreams exposed TaskMetadata#endOffsets() via ThreadMetadata, exposed with
KafkaStreams#metadataForLocalThread().
As the name says, it should return the end-offset for each topic-partition,
however, the current implementation return the offset of the last record, so
it's at least off by one. If the topic has "offset holes", eg, TX markers, the
error could be larger than one.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)