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

ui.consumers.allClustersConsumers.ftl Maven / Gradle / Ivy

There is a newer version: 0.8.0
Show newest version
<#-- @ftlvariable name="lastCommit"  type="java.lang.String" -->
<#-- @ftlvariable name="appUrl" type="com.infobip.kafkistry.webapp.url.AppUrl" -->
<#-- @ftlvariable name="consumersData" type="com.infobip.kafkistry.service.consumers.AllConsumersData" -->
<#-- @ftlvariable name="consumersStats"  type="com.infobip.kafkistry.service.consumers.ConsumersStats" -->
<#-- @ftlvariable name="groupsOwned" type="java.util.Map" -->
<#-- @ftlvariable name="clusterIdentifiers" type="java.util.List" -->




    <#include "../commonResources.ftl"/>
    Kafkistry: Consumer groups
    
    






<#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>

Cluster pooling statuses
<#list consumersData.clustersDataStatuses as clusterDataStatus> <#assign stateClass = util.levelToHtmlClass(clusterDataStatus.clusterStatus.level)> <#assign clusterTooltip> ${clusterDataStatus.clusterStatus}
Last refresh before: ${(.now?long - clusterDataStatus.lastRefreshTime)/1000} sec
Statistics/counts
<#include "../consumers/consumerGroupsCounts.ftl">

All clusters consumers
<#assign presetDoc> Use when need to prepare consumer group offsets to particular point (begin, end, @ timestamp,...) prior to first starting consumer so that it starts consuming at pre-specified offsets.
Might be useful for example in situation when consumer group is planned to have auto.offset.reset = earliest, but for very first usage you'd like to start from latest or (now-1h)-corresponding offset.
Init-preset group... <@info.icon tooltip=presetDoc/>

<#list consumersData.clustersGroups as clusterGroup> <#assign consumerGroup = clusterGroup.consumerGroup> <#assign groupOwned = groupsOwned[consumerGroup.groupId]>
Group Status Assignor Lag Topics
${consumerGroup.groupId} @ ${clusterGroup.clusterIdentifier} 🔍 <#if groupOwned> <@util.yourOwned what="consumer group"/> <@util.namedTypeStatusAlert type=consumerGroup.status/> ${consumerGroup.partitionAssignor} <@util.namedTypeStatusAlert type=consumerGroup.lag.status/> ${consumerGroup.topicMembers?size} topic(s) <#assign topicsTooltip> <#list consumerGroup.topicMembers as topicMember>
Lag Topic
<#if (topicMember.lag.amount)??> ${util.prettyNumber(topicMember.lag.amount)} <#else> N/A ${topicMember.topicName}
<@info.icon tooltip=topicsTooltip/>
<#include "../common/pageBottom.ftl">




© 2015 - 2024 Weber Informatics LLC | Privacy Policy