瀏覽代碼

Add "Total lag" within Consumer group (#2602)

Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
Winnie Chiu 2 年之前
父節點
當前提交
3b8cbd1dbf
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      kafka-ui-react-app/src/components/ConsumerGroups/Details/Details.tsx

+ 3 - 0
kafka-ui-react-app/src/components/ConsumerGroups/Details/Details.tsx

@@ -103,6 +103,9 @@ const Details: React.FC = () => {
           <Metrics.Indicator label="Coordinator ID">
             {consumerGroup.coordinator?.id}
           </Metrics.Indicator>
+          <Metrics.Indicator label="Total lag">
+            {consumerGroup.messagesBehind}
+          </Metrics.Indicator>
         </Metrics.Section>
       </Metrics.Wrapper>
       <Table isFullwidth>