ui.consumers.components.groupMetadata.ftl Maven / Gradle / Ivy
<#-- @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="groupOwned" type="java.lang.Boolean" -->
<#-- @ftlvariable name="consumerGroup" type="com.infobip.kafkistry.service.consumers.KafkaConsumerGroup" -->
<#-- @ftlvariable name="newConsumerGroup" type="java.lang.Boolean" -->
<#import "../../common/util.ftl" as util>
<#import "../../common/infoIcon.ftl" as info>
<#import "../../common/documentation.ftl" as doc>
<#import "../util.ftl" as statusUtil>
Group Id
${consumerGroupId}
<#if groupOwned?? && groupOwned>
<@util.yourOwned what="consumer group"/>
#if>
Cluster
${clusterIdentifier}
<#if (newConsumerGroup!false) && !consumerGroup??>
New consumer group, no metadata to show
<#elseif !consumerGroup??>
Could not find/read this consumer group on this cluster
<#else>
Status
<@util.namedTypeStatusAlert type=consumerGroup.status/>
Partition assignor
${consumerGroup.partitionAssignor}
Lag
<@util.namedTypeStatusAlert type=consumerGroup.lag.status/>
(total: ${consumerGroup.lag.amount!'N/A'})
Number topics
${consumerGroup.topicMembers?size}
#if>