[
https://issues.apache.org/jira/browse/KAFKA-21507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthias J. Sax updated KAFKA-21507:
------------------------------------
Affects Version/s: 3.0.0
> 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
> Affects Versions: 3.0.0
> Reporter: Matthias J. Sax
> Assignee: Matthias J. Sax
> Priority: Minor
>
> 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)