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

ui.management.bulkReBalanceTopics.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="clusterIdentifier" type="java.lang.String" -->
<#-- @ftlvariable name="clusterInfo" type="com.infobip.kafkistry.kafka.ClusterInfo" -->
<#-- @ftlvariable name="stats" type="com.infobip.kafkistry.service.topic.BulkReAssignmentSuggestion.SuggestionStats" -->
<#-- @ftlvariable name="topicsReBalanceSuggestions" type="java.util.Map" -->
<#-- @ftlvariable name="topicsReBalanceStatuses" type="java.util.Map" -->
<#-- @ftlvariable name="totalDataMigration" type="com.infobip.kafkistry.service.topic.DataMigration" -->
<#-- @ftlvariable name="clusterTopicsReplicas" type="com.infobip.kafkistry.kafkastate.TopicReplicaInfos" -->
<#-- @ftlvariable name="selectionLimitedBy" type="java.util.List" -->



    <#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>

<#include "../common/backBtn.ftl"> Topic bulk re-balance on kafka


<#assign bulkReBalanceDoc = true> <#include "doc/bulkTopicReBalanceDoc.ftl">

You are about to re-assign multiple topic partition replica to achieve balance


Cluster: ${clusterIdentifier}

Selection pipeline:

ALL
${stats.counts.all}
FILTERED
${stats.counts.filtered}
QUALIFIED
${stats.counts.qualified}
CANDIDATES
${stats.counts.candidates}
SELECTED
${stats.counts.selected}

<#if selectionLimitedBy?size == 0> Selection of topic was not limited by any constraints <#else> Selection of topics was limited by: <#list selectionLimitedBy as causeType> ${causeType}

<#macro filterStageDisplay filterStages> <#-- @ftlvariable name="filterStages" type="java.util.List" --> <#list filterStages as filterStage> <#if filterStages?size == 0>
# Topic Outcome Explanation
${filterStage?index + 1}) ${filterStage.topic} <#if filterStage.passed> PASSED <#else> DROPPED <#list filterStage.explanations as explanation> ${explanation} <#if explanation?has_next>/
(no topics)
Filter stage
<@filterStageDisplay filterStages=stats.filter/>

Qualify stage
<@filterStageDisplay filterStages=stats.qualify/>

Candidates stage
<@filterStageDisplay filterStages=stats.candidate/>

Constraints stage
<@filterStageDisplay filterStages=stats.constraints/>


<#list topicsReBalanceSuggestions as topicName, reBalanceSuggestion> <#assign assignmentStatus = topicsReBalanceStatuses[topicName]> <#assign topicReplicas = clusterTopicsReplicas[topicName]>
<#include "reAssignmentMetadata.ftl">
<#if topicsReBalanceSuggestions?size gt 0>
<#assign dataMigration = totalDataMigration> <#include "assignmentDataMigration.ftl">
Total data migration

<#assign maxBrokerIOBytes = totalDataMigration.maxBrokerIOBytes> <#include "replicationThrottle.ftl">
<#else>

No topics to re-balance

<#include "../common/cancelBtn.ftl"> <#include "../common/serverOpStatus.ftl">
<#include "../common/pageBottom.ftl">




© 2015 - 2024 Weber Informatics LLC | Privacy Policy