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

ui.clusters.cluster.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="clusterStatus"  type="com.infobip.kafkistry.service.cluster.ClusterStatus" -->
<#-- @ftlvariable name="pendingClusterRequests"  type="java.util.List" -->
<#-- @ftlvariable name="gitStorageEnabled"  type="java.lang.Boolean" -->
<#-- @ftlvariable name="brokerConfigDoc" type="java.util.Map" -->
<#-- @ftlvariable name="autopilotEnabled"  type="java.lang.Boolean" -->
<#-- @ftlvariable name="autopilotActions"  type="java.util.List" -->



<#assign clusterModel = clusterStatus.cluster>
<#assign clusterIdentifier = clusterModel.identifier>


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





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

<#import "../common/util.ftl" as util>
<#import "../common/infoIcon.ftl" as info>

Cluster: ${clusterIdentifier}


<#if clusterStatus.clusterInfo??> <#assign clusterInfo = clusterStatus.clusterInfo> <#if clusterInfo.kraftEnabled> <#macro quorumReplicas replicas> <#-- @ftlvariable name="replicas" type="java.util.List" -->
Cluster identifier ${clusterIdentifier}
Tags <#if clusterModel.tags?size == 0> (no tags) <#else> <#list clusterModel.tags as tag> ${tag}
Connection protocol <#if clusterModel.sslEnabled && clusterModel.saslEnabled>SASL_SSL (authentication + encrypted connection) <#elseif clusterModel.sslEnabled && !clusterModel.saslEnabled>SSL (no authentication + encrypted connection) <#elseif !clusterModel.sslEnabled && clusterModel.saslEnabled>SASL_PLAINTEXT (authentication + plain connection) <#else>PLAINTEXT (no authentication + plain connection)
Properties profiles <#if clusterModel.profiles?size == 0> ---- <#list clusterModel.profiles as profile> ${profile}
Cluster state <@util.namedTypeStatusAlert type=clusterStatus.clusterState/>
Last refresh
Cluster id ${clusterInfo.clusterId}
Consensus type <#assign clusterConsensusType = clusterInfo.kraftEnabled?then("KRaft", "Zookeper")> ${clusterConsensusType}
Leader ID:${clusterInfo.quorumInfo.leaderId?c} Epoch:${clusterInfo.quorumInfo.leaderEpoch?c} High-Watermark:${clusterInfo.quorumInfo.highWatermark?c}
<#list replicas as replica>
Replica ID Log end offset Last fetch Last caught up
${replica.replicaId?c} ${replica.logEndOffset?c} <#if replica.lastFetchTimestamp??> <#else> n/a <#if replica.lastCaughtUpTimestamp??> <#else> n/a
Voters <#if clusterInfo.quorumInfo.voters?size == 0> (none) <#else> <@quorumReplicas replicas=clusterInfo.quorumInfo.voters/> Observers <#if clusterInfo.quorumInfo.observers?size == 0> (none) <#else> <@quorumReplicas replicas=clusterInfo.quorumInfo.observers/> <#else> Controller node id ${clusterInfo.controllerId} Nodes/Broker ids <#include "clusterNodesList.ftl"> Connection ${clusterInfo.connectionString} <#if autopilotEnabled> Autopilot <#assign actionsSearchTerm = clusterIdentifier> <#include "../autopilot/relatedActions.ftl"> <#if gitStorageEnabled> Pending changes <#assign pendingRequests = pendingClusterRequests> <#include "../common/pendingChanges.ftl" >
Cluster issues
<#assign statusId = "clusterIssues"> <#include "../common/serverOpStatus.ftl"> <#assign statusId = "">

<#assign statusId = "clusterTopics"> <#include "../common/serverOpStatus.ftl"> <#assign statusId = "">

<#assign statusId = "clusterAcls"> <#include "../common/serverOpStatus.ftl"> <#assign statusId = "">

<#assign statusId = "clusterQuotas"> <#include "../common/serverOpStatus.ftl"> <#assign statusId = "">

<#assign statusId = "clusterConsumerGroups"> <#include "../common/serverOpStatus.ftl"> <#assign statusId = "">

<#if clusterStatus.clusterInfo??> <#assign clusterInfo = clusterStatus.clusterInfo>
Select node config
<#list clusterInfo.nodeIds as nodeId> <#assign active = (nodeId == clusterInfo.controllerId)?then("active", "")>
<#if clusterInfo.perBrokerConfig?api.containsKey(nodeId)> <#assign config = clusterInfo.perBrokerConfig?api.get(nodeId)> <#include "../common/existingConfig.ftl"> <#else> ---
<#else>

(nothing to show because cluster state is ${clusterStatus.clusterState})

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy