ui.consumers.consumerGroup.ftl Maven / Gradle / Ivy
<#-- @ftlvariable name="lastCommit" type="java.lang.String" -->
<#-- @ftlvariable name="appUrl" type="com.infobip.kafkistry.webapp.url.AppUrl" -->
<#-- @ftlvariable name="clusterIdentifier" type="java.lang.String" -->
<#-- @ftlvariable name="consumerGroupId" type="java.lang.String" -->
<#-- @ftlvariable name="consumerGroup" type="com.infobip.kafkistry.service.consumers.KafkaConsumerGroup" -->
<#-- @ftlvariable name="kafkaStreamsApp" type="com.infobip.kafkistry.service.kafkastreams.KafkaStreamsApp" -->
<#-- @ftlvariable name="shownTopic" type="java.lang.String" -->
<#-- @ftlvariable name="consumerGroupIds" type="java.util.List" -->
<#include "../commonResources.ftl"/>
Kafkistry: Consumer group
<#include "../commonMenu.ftl">
<#import "../common/util.ftl" as util>
<#import "../common/infoIcon.ftl" as info>
<#import "../common/documentation.ftl" as doc>
<#import "util.ftl" as statusUtil>
<#include "../common/backBtn.ftl"> Consumer group info
<#include "components/groupMetadata.ftl">
<#if consumerGroup??>
<#if kafkaStreamsApp??>
#if>
<#assign affectingAcls = consumerGroup.affectingAclRules>
<#include "../acls/affectingAcls.ftl">
<#assign shownTopic = (shownTopic??)?then(shownTopic, "")>
<#if consumerGroup.topicMembers?size == 1>
<#assign shownTopic = consumerGroup.topicMembers?first.topicName>
#if>
<#list consumerGroup.topicMembers as topicMember>
<#assign shown = (topicMember.topicName == shownTopic)>
<#assign collapsedClass = shown?then("", "collapsed")>
<#assign showClass = shown?then("show", "")>
<@util.namedTypeStatusAlert type=topicMember.lag.status small=true/>
Total lag:${topicMember.lag.amount!'N/A'}
<#if topicMember.lag.percentage??>
<#if topicMember.lag.percentage?is_infinite>
((inf)
%)
<#else>
(${util.prettyNumber(topicMember.lag.percentage)}%)
#if>
#if>
Partition
Lag <@statusUtil.lagDoc/>
% <@statusUtil.lagPercentDoc/>
Member client id
Member host
<#list topicMember.partitionMembers as partition>
${partition.partition}
<@util.namedTypeStatusAlert type=partition.lag.status small=true/>
${partition.lag.amount!'N/A'}
<#if partition.lag.percentage??>
<#if partition.lag.percentage?is_infinite>
(inf)
<#else>
${util.prettyNumber(partition.lag.percentage)}%
#if>
<#else>
N/A
#if>
<#if (partition.member)??>
${partition.member.clientId}
${partition.member.host}
<#else>
(unassigned)
(unassigned)
#if>
#list>
#list>
<#if consumerGroup.topicMembers?size == 0>
(no assigned topics to show)
#if>
#if>
<#include "../common/pageBottom.ftl">