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

ui.topics.topicResourceUsages.ftl Maven / Gradle / Ivy

There is a newer version: 0.8.0
Show newest version
<#import "../common/util.ftl" as _util_>

<#macro usageHeaderSectionCells>
    Expected avg 
msg rate Required expected disk usage Data IO <#macro usageHeaderCells> Total Per broker Per partition replica Total from producer Per partition Per broker IN
(produce + sync) Per broker OUT
(sync only) <#macro usageValuesCells optionalResourceRequiredUsages> <#-- @ftlvariable name="optionalUsages" type="com.infobip.kafkistry.service.OptionalValue" --> <#if optionalResourceRequiredUsages.value??> <#assign usages = optionalResourceRequiredUsages.value> <#if usages.messagesPerSec=0.0> 0 msg/sec <#elseif usages.messagesPerSec gte 1> ${_util_.prettyNumber(usages.messagesPerSec)+" msg/sec"} <#else> <#assign msgFreq = 1 / usages.messagesPerSec> 1 msg every ${_util_.prettyDuration(msgFreq)} ${_util_.prettyDataSize(usages.totalDiskUsageBytes)} <#if usages.diskUsagePerBroker??>${_util_.prettyDataSize(usages.diskUsagePerBroker)}<#else>N/A ${_util_.prettyDataSize(usages.diskUsagePerPartitionReplica)} ${_util_.prettyDataSize(usages.bytesPerSec)+"/sec"} ${_util_.prettyDataSize(usages.partitionInBytesPerSec)+"/sec"} <#if usages.brokerInBytesPerSec??>${_util_.prettyDataSize(usages.brokerInBytesPerSec)+"/sec"}<#else>N/A <#if usages.brokerSyncBytesPerSec??>${_util_.prettyDataSize(usages.brokerSyncBytesPerSec)+"/sec"}<#else>N/A <#else> N/A: ${optionalResourceRequiredUsages.absentReason}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy