[
https://issues.apache.org/jira/browse/KAFKA-9430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John Roesler updated KAFKA-9430:
--------------------------------
Affects Version/s: 2.5.0
> Tighten up lag estimates when source topic optimization is on
> --------------------------------------------------------------
>
> Key: KAFKA-9430
> URL: https://issues.apache.org/jira/browse/KAFKA-9430
> Project: Kafka
> Issue Type: Sub-task
> Components: streams
> Affects Versions: 2.5.0
> Reporter: Vinoth Chandar
> Assignee: Vinoth Chandar
> Priority: Major
>
> Right now, we use _endOffsets_ of the source topic for the computation. Since
> the source topics can also have user event produces, this is an over estimate
>
> From John:
> For "optimized" changelogs, this will be wrong, strictly speaking, but it's
> an over-estimate (which seems better than an under-estimate), and it's also
> still an apples-to-apples comparison, since all replicas would use the same
> upper bound to compute their lags, so the "pick the freshest" replica is
> still going to pick the right one.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)