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

ui.topics.topic.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="topic"  type="com.infobip.kafkistry.service.topic.TopicStatuses" -->
<#-- @ftlvariable name="topicOwned"  type="java.lang.Boolean" -->
<#-- @ftlvariable name="pendingTopicRequests"  type="java.util.List" -->
<#-- @ftlvariable name="gitStorageEnabled"  type="java.lang.Boolean" -->
<#-- @ftlvariable name="autopilotEnabled"  type="java.lang.Boolean" -->
<#-- @ftlvariable name="autopilotActions"  type="java.util.List" -->




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




<#include "../commonMenu.ftl">
<#import "../common/util.ftl" as util>
<#import "../common/infoIcon.ftl" as info>
<#import "../common/documentation.ftl" as doc>

<#assign topicName = topic.topicName>
<#assign existInRegistry = topic.topicDescription??>

Topic: ${topicName}

<#if existInRegistry> <#if gitStorageEnabled> <#if autopilotEnabled>
Name ${topicName}
Topic in registry <@util.inRegistry flag = existInRegistry/>
Owner <#if existInRegistry> ${topic.topicDescription.owner} <#if topicOwned> <@util.yourOwned what="topic"/> <#else> [none]
Description
Labels <#if topic.topicDescription.labels?size == 0> --- <#else> <#list topic.topicDescription.labels as label> ${label.category} ${label.name}  
Producer ${topic.topicDescription.producer}
Presence <@util.presence presence = topic.topicDescription.presence/>
Frozen properties <#if topic.topicDescription.freezeDirectives?size == 0> --- <#else>
    <#assign padlockSymol>🔒 <#list topic.topicDescription.freezeDirectives as freezeDirectve>
  • Reason: ${freezeDirectve.reasonMessage}
      <#if freezeDirectve.partitionCount>
    • Partition count ${padlockSymol}
    • <#if freezeDirectve.replicationFactor>
    • Replication factor ${padlockSymol}
    • <#list freezeDirectve.configProperties as frozenProperty>
    • ${frozenProperty} ${padlockSymol}
Status over
all clusters
<#assign statusFlags = topic.aggStatusFlags> <#assign clusterStatusFlags = util.clusterStatusFlags(topic.statusPerClusters)> <#include "../common/statusFlags.ftl">
Pending changes <#assign pendingRequests = (pendingTopicRequests![]) > <#include "../common/pendingChanges.ftl" >
Autopilot <#assign actionsSearchTerm = topicName> <#include "../autopilot/relatedActions.ftl">
Actions <#assign topicActions = util.enumListToStringList(topic.availableActions)> <#if existInRegistry>

<#if topicActions?seq_contains("CREATE_TOPIC")>

<#if topicActions?seq_contains("ALTER_TOPIC_CONFIG")>

<#else> <#if topicActions?seq_contains("IMPORT_TOPIC")>

<#if topicActions?seq_contains("DELETE_TOPIC_ON_KAFKA")>

Statuses per clusters

<#if topic.statusPerClusters?size == 0> <#list topic.statusPerClusters as clusterStatus>
Cluster Status Action
(no clusters to show)
<#assign topicOnClusterStatus = clusterStatus.status> <#include "../common/topicOnClusterStatus.ftl"> <#assign clusterIdentifier = clusterStatus.clusterIdentifier> <#assign availableActions = clusterStatus.status.availableActions> <#include "../common/topicOnClusterAction.ftl">
<#if existInRegistry> <#if gitStorageEnabled>
<#assign historyUrl = appUrl.topics().showTopicHistory(topicName)> <#include "../git/entityHistoryContainer.ftl">

Topic description in registry

File name:

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy