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

ui.clusters.management.throttle.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="clusterInfo" type="com.infobip.kafkistry.kafka.ClusterInfo" -->
<#-- @ftlvariable name="commonThrottle" type="com.infobip.kafkistry.kafka.ThrottleRate" -->




    <#include "../../commonResources.ftl"/>
    
    
    Kafkistry: Cluster





<#include "../../commonMenu.ftl">

<#import "../../common/util.ftl" as util>
<#import "../clusterNodesList.ftl" as broker>

<#macro throttleRow brokerId throttle>
    <#if brokerId?is_number>
        <#assign brokerIdStr = "${brokerId?c}">
    <#else>
        <#assign brokerIdStr = "${brokerId}">
    

    
        
            <#if brokerId?is_string>
                
${brokerId}
<#else> <@broker.clusterNodeId nodeId=brokerId/> <#assign statusId = "broker-${brokerIdStr}"> <#include "../../common/serverOpStatus.ftl">
<#assign clusterIdentifier = clusterInfo.identifier>

<#include "../../common/backBtn.ftl"> Set cluster throttle rate


Cluster: ${clusterIdentifier}

<@throttleRow brokerId="ALL" throttle=commonThrottle/> <#list clusterInfo.brokerIds as brokerId> <@throttleRow brokerId=brokerId throttle=(clusterInfo.perBrokerThrottle?api.get(brokerId))!{}/>
Broker Leader rate Follower rate Alter dir rate
<#include "../../common/cancelBtn.ftl">
<#include "../../common/pageBottom.ftl">




© 2015 - 2024 Weber Informatics LLC | Privacy Policy