ui.management.throttleBrokerPartitions.ftl Maven / Gradle / Ivy
<#-- @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="throttleBrokerTopicPartitionsSuggestion" type="com.infobip.kafkistry.service.topic.ThrottleBrokerTopicPartitionsSuggestion" -->
<#include "../commonResources.ftl"/>
Kafkistry: Throttle replication
<#include "../commonMenu.ftl">
<#import "../common/util.ftl" as util>
<#import "../common/documentation.ftl" as doc>
<#import "../common/infoIcon.ftl" as info>
<#include "../common/backBtn.ftl"> Cluster global throttling from/into specific broker(s)
Cluster
${clusterInfo.identifier}
All brokers
<#include "../clusters/clusterNodesList.ftl">
Throttled brokers
<#list throttleBrokerTopicPartitionsSuggestion.throttleRequest.brokerIds as brokerId>
<@clusterNodeId nodeId=brokerId/>
#list>
Generated topic partition broker throttled replicas
<#list throttleBrokerTopicPartitionsSuggestion.throttleRequest.topicNames as topic>
<#assign topicUrl = appUrl.topics().showInspectTopicOnCluster(topic, clusterInfo.identifier)>
<#if (throttleBrokerTopicPartitionsSuggestion.topicThrottleConfigs[topic])??>
<#assign throttleConfigs = throttleBrokerTopicPartitionsSuggestion.topicThrottleConfigs[topic]>
Topic (${topic?index + 1}): ${topic}
<#list throttleConfigs as configKey, configValue>
-
${configKey}: ${configValue}
#list>
<#assign statusId = "topic-${topic}">
<#include "../common/serverOpStatus.ftl">
<#else>
Topic (${topic?index + 1}): ${topic}
Nothing to throttle
<#assign noThrotteTooltip>
Topic's partition assignments are assigned in a such way that when throttling
broker ids [${throttleBrokerTopicPartitionsSuggestion.throttleRequest.brokerIds?join(", ")}] results
in no combination leader-follower to be affected. Therefore, nothing needs to be throttled at this topic level.
#assign>
<@info.icon tooltip=noThrotteTooltip/>
#if>
<#if !topic?is_last>
#if>
#list>
Total maximum data migration if throttled brokers were totally
out-of-sync
Throttled brokers
<#list throttleBrokerTopicPartitionsSuggestion.throttleRequest.brokerIds as brokerId>
<@clusterNodeId nodeId=brokerId/>
#list>
<#assign dataMigration = throttleBrokerTopicPartitionsSuggestion.totalMaximumDataMigration>
<#include "assignmentDataMigration.ftl">
<#assign maxBrokerIOBytes = throttleBrokerTopicPartitionsSuggestion.totalMaximumDataMigration.maxBrokerIOBytes>
<#include "replicationThrottle.ftl">
<#include "../common/cancelBtn.ftl">
<#include "../common/pageBottom.ftl">