[ https://issues.apache.org/jira/browse/KAFKA-19530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18008898#comment-18008898 ]
Kamal Chandraprakash commented on KAFKA-19530: ---------------------------------------------- [~m1a2st] I've not started to work on this ticket. Thanks for taking this! > RemoteLogManager should record lag stats when remote storage is offline > ----------------------------------------------------------------------- > > Key: KAFKA-19530 > URL: https://issues.apache.org/jira/browse/KAFKA-19530 > Project: Kafka > Issue Type: Task > Reporter: Kamal Chandraprakash > Priority: Major > > When remote storage is offline, then the segmentLag and bytesLag metrics are > not recorded. These metrics are useful to know the pending data to upload > when remote storage is down. > https://sourcegraph.com/github.com/apache/kafka/-/blob/storage/src/main/java/org/apache/kafka/server/log/remote/storage/RemoteLogManager.java?L1088 > Calculate the bytesLag and segmentsLag when > `remoteStorageManagerPlugin.get().copyLogSegmentData` throws error -- This message was sent by Atlassian Jira (v8.20.10#820010)