All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ui.home.consumerGroupsStats.ftl Maven / Gradle / Ivy

There is a newer version: 0.8.0
Show newest version
<#-- @ftlvariable name="appUrl" type="com.infobip.kafkistry.webapp.url.AppUrl" -->
<#-- @ftlvariable name="consumersStats"  type="com.infobip.kafkistry.service.consumers.ConsumersStats" -->
<#-- @ftlvariable name="ownedConsumersStats"  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> <#macro consumerStatsTables cStats navigateSuffix=""> <#-- @ftlvariable name="cStats" type="com.infobip.kafkistry.service.consumers.ConsumersStats" --> <#list cStats.consumerStatusCounts as stateType, count>
Group status
<@util.namedTypeStatusAlert type=stateType alertInline=false/> ${count}
<#list cStats.lagStatusCounts as stateType, count>
Lag status
<@util.namedTypeStatusAlert type=stateType alertInline=false/> ${count}
<@consumerStatsTables cStats=consumersStats/>
<#if ownedConsumersStats.consumerStatusCounts?size == 0>
(no consumer groups in your ownership)
<#else> <@consumerStatsTables cStats=ownedConsumersStats navigateSuffix="%20YOUR"/>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy