ui.management.expectedTopicInfo.ftl Maven / Gradle / Ivy
<#-- @ftlvariable name="appUrl" type="com.infobip.kafkistry.webapp.url.AppUrl" -->
<#-- @ftlvariable name="clusterIdentifier" type="java.lang.String" -->
<#-- @ftlvariable name="expectedTopicInfo" type="com.infobip.kafkistry.service.topic.ExpectedTopicInfo" -->
<#-- @ftlvariable name="bulkIterateBy" type="java.lang.String" -->
<#import "../common/util.ftl" as etUtil>
<#switch bulkIterateBy!''>
<#case "TOPIC">
Topic: ${expectedTopicInfo.name}
<#break>
<#case "CLUSTER">
Cluster: ${clusterIdentifier}
<#break>
<#default>
${expectedTopicInfo.name} @ ${clusterIdentifier}
#switch>
Number partitions
${expectedTopicInfo.properties.partitionCount}
Replication factor
${expectedTopicInfo.properties.replicationFactor}
<#list expectedTopicInfo.config as key, value>
${key}
${value}
#list>
<#if expectedTopicInfo.config?size == 0>
(no config overrides of defaults)
#if>
<#if bulkIterateBy??>
<#switch bulkIterateBy>
<#case "TOPIC">
<#assign statusId = "op-status-"+expectedTopicInfo.name>
<#break>
<#case "CLUSTER">
<#assign statusId = "op-status-"+clusterIdentifier>
<#break>
#switch>
<#include "../common/serverOpStatus.ftl">
#if>