ui.management.customReAssignmentInput.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="topicName" type="java.lang.String" -->
<#-- @ftlvariable name="existingAssignments" type="java.util.Map>" -->
<#-- @ftlvariable name="topicReplicas" type="com.infobip.kafkistry.kafkastate.TopicReplicaInfos" -->
<#include "../commonResources.ftl"/>
Kafkistry: Topic re-assignment
<#include "../commonMenu.ftl">
<#import "../common/util.ftl" as util>
<#import "../common/documentation.ftl" as doc>
<#import "../common/infoIcon.ftl" as info>
Topic re-assign with custom assignment
Cluster
${clusterInfo.identifier}
Topic
${topicName}
Brokers
<#include "../clusters/clusterNodesList.ftl">
Partition
Preferred leader's size
Current
New
Change
<#list existingAssignments as partition, replicas>
${partition?c}
<#if topicReplicas??>
<#if (topicReplicas.partitionBrokerReplicas?api.get(partition)?api.get(replicas[0]))??>
<#assign replicaInfo = topicReplicas.partitionBrokerReplicas?api.get(partition)?api.get(replicas[0])>
${util.prettyDataSize(replicaInfo.sizeBytes)}
<#else>
---
#if>
#if>
${replicas?map(r -> "${r?c}")?join(",")}
#list>
Continue...
<#include "../common/cancelBtn.ftl">
<#include "../common/serverOpStatus.ftl">
<#include "../common/pageBottom.ftl">