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

ui.management.unwantedTopicInfo.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="clusterIdentifier" type="java.lang.String" -->
<#-- @ftlvariable name="topicName" type="java.lang.String" -->
<#-- @ftlvariable name="topicConsumerGroups" type="java.util.List" -->
<#-- @ftlvariable name="topicOffsets" type="com.infobip.kafkistry.service.topic.offsets.TopicOffsets" -->

<#-- @ftlvariable name="bulkIterateBy" type="java.lang.String" -->

<#import "../common/util.ftl" as util>
<#import "../consumers/util.ftl" as consumerUtil>


    
        <#switch bulkIterateBy!''>
            <#case "TOPIC">
                Topic: ${topicName}
                <#break>
            <#case "CLUSTER">
                Cluster: ${clusterIdentifier}
                <#break>
            <#default>
                ${topicName} @ ${clusterIdentifier}
        
    


    Producing
    
        <#if topicOffsets?? && topicOffsets != "">
            <#include "../topics/topicOffsetsStatus.ftl">
        <#else>
            N/A
        
    


    Consumers
    
        <#if topicConsumerGroups?size == 0>
            (no consumer groups reading from this topic)
        <#else>
            
                <#list topicConsumerGroups as consumerGroup>
                    
                        <#list consumerGroup.topicMembers as topicMember>
                            <#if topicMember.topicName == topicName>
                                
Group Status Lag
${consumerGroup.groupId} <@util.namedTypeStatusAlert type=consumerGroup.status/> <@util.namedTypeStatusAlert type=topicMember.lag.status/>
<#if bulkIterateBy??> <#switch bulkIterateBy> <#case "TOPIC"> <#assign statusId = "op-status-"+topicName> <#break> <#case "CLUSTER"> <#assign statusId = "op-status-"+clusterIdentifier> <#break> <#include "../common/serverOpStatus.ftl">




© 2015 - 2024 Weber Informatics LLC | Privacy Policy