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

ui.management.reAssignmentMetadata.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="clusterInfo" type="com.infobip.kafkistry.kafka.ClusterInfo" -->
<#-- @ftlvariable name="topicName" type="java.lang.String" -->
<#-- @ftlvariable name="assignmentStatus" type="com.infobip.kafkistry.service.topic.PartitionsAssignmentsStatus" -->
<#-- @ftlvariable name="reBalanceSuggestion" type="com.infobip.kafkistry.service.topic.ReBalanceSuggestion" -->
<#-- @ftlvariable name="topicReplicas" type="com.infobip.kafkistry.kafkastate.TopicReplicaInfos" -->


    <#assign dataMigration = reBalanceSuggestion.dataMigration>
    <#include "assignmentChangeStats.ftl">
    <#assign oldDisbalance = reBalanceSuggestion.oldDisbalance>
    <#assign newDisbalance = reBalanceSuggestion.newDisbalance>
    
Cluster ${clusterInfo.identifier}
Topic ${topicName}
Replicas disbalance Old: ${oldDisbalance.replicasDisbalance} (${oldDisbalance.replicasDisbalancePercent?string["0.##"]}% of all replicas) New: ${newDisbalance.replicasDisbalance} (${newDisbalance.replicasDisbalancePercent?string["0.##"]}% of all replicas)
Leaders disbalance Old: ${oldDisbalance.leadersDisbalance} (${oldDisbalance.leadersDisbalancePercent?string["0.##"]}% of all partitions) New: ${newDisbalance.leadersDisbalance} (${newDisbalance.leadersDisbalancePercent?string["0.##"]}% of all partitions)
Racks disbalance Old sum: ${oldDisbalance.partitionsPerRackDisbalance.totalDisbalance}, New sum: ${newDisbalance.partitionsPerRackDisbalance.totalDisbalance}
<#include "../topics/partitionReplicaAssignments.ftl"> <#assign assignments = reBalanceSuggestion.assignmentsChange.newAssignments> <#include "assignmentData.ftl">




© 2015 - 2024 Weber Informatics LLC | Privacy Policy