ui.consumers.consumerGroupsCounts.ftl Maven / Gradle / Ivy
<#-- @ftlvariable name="consumersStats" type="com.infobip.kafkistry.service.consumers.ConsumersStats" -->
<#import "../common/util.ftl" as util>
<#import "../consumers/util.ftl" as consumerUtil>
<#if consumersStats.consumerStatusCounts?size == 0>
(No consumer groups)
<#else>
Group status
<#list consumersStats.consumerStatusCounts as stateType, count>
<@util.namedTypeStatusAlert type=stateType alertInline=false/>
${count}
#list>
Lag status
<#list consumersStats.lagStatusCounts as stateType, count>
<@util.namedTypeStatusAlert type=stateType alertInline=false/>
${count}
#list>
Partition assignor
<#list consumersStats.partitionAssignorCounts as stateType, count>
${stateType}
${count}
#list>
#if>