[ 
https://issues.apache.org/jira/browse/KAFKA-9431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17015475#comment-17015475
 ] 

ASF GitHub Bot commented on KAFKA-9431:
---------------------------------------

vinothchandar commented on pull request #7961: [KAFKA-9431] Expose API in 
KafkaStreams to fetch all local offset lags
URL: https://github.com/apache/kafka/pull/7961
 
 
   
    - Adds KafkaStreams#allLocalOffsetLags(), which returns lag information of 
all active/standby tasks local to a streams instance
    - LagInfo class encapsulates the current position in the changelog, 
endoffset in the changelog and their difference as lag
    - Lag information is a mere estimate; it can over-estimate (source topic 
optimization), or under-estimate.
    - Each call to allLocalOffsetLags() generates a metadata call to Kafka 
brokers, so caution advised
    - Unit and Integration tests added.
   
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Expose API in KafkaStreams to fetch all local offset lags
> ---------------------------------------------------------
>
>                 Key: KAFKA-9431
>                 URL: https://issues.apache.org/jira/browse/KAFKA-9431
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: streams
>            Reporter: Vinoth Chandar
>            Assignee: Vinoth Chandar
>            Priority: Major
>             Fix For: 2.5.0
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to