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

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




    <#include "../commonResources.ftl"/>
    
    
    Kafkistry: Topic partitions change




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

Topic partition count change on kafka


You are about to change topic partition count on kafka cluster


<#if partitionCountChange.dataMigration??> <#assign dataMigration = partitionCountChange.dataMigration> <#include "assignmentChangeStats.ftl">
Cluster ${clusterInfo.identifier}
Topic ${topicName}
Partition count before ${partitionCountChange.currentAssignments?size}
Partition count after ${(partitionCountChange.change.newAssignments?size)!"---"}
<#assign partitionsAssignments = partitionCountChange.currentAssignments> <#assign partitionChange = partitionCountChange> <#include "../topics/partitionReplicaAssignments.ftl"> <#switch partitionCountChange.type> <#case "IMPOSSIBLE">
WARNING: Partition change is not possible, reason: ${partitionCountChange.impossibleReason}
<#assign url = appUrl.topicsManagement().showDeleteTopicOnCluster(topicName, clusterInfo.identifier)>
<#break> <#case "NOTHING">
NOTE: Partition change is not needed because expected and actual values are the same
<#break> <#case "CHANGE"> <#assign assignments = partitionCountChange.change.addedPartitionReplicas> <#include "assignmentData.ftl"> <#assign numNewPartitions = partitionCountChange.change.addedPartitionReplicas?size> <#break> <#include "../common/cancelBtn.ftl">
<#include "../common/serverOpStatus.ftl">
<#include "../common/pageBottom.ftl">




© 2015 - 2024 Weber Informatics LLC | Privacy Policy