ui.topics.topicOffsetsStatus.ftl Maven / Gradle / Ivy
<#-- @ftlvariable name="topicOffsets" type="com.infobip.kafkistry.service.topic.offsets.TopicOffsets" -->
<#import "../common/util.ftl" as toUtil>
Messages stats
<#if topicOffsets.empty>
Topic is empty
<#else>
Total messages in all partitions: ~${toUtil.prettyNumber(topicOffsets.size)}
<#include "numMessagesEstimateDoc.ftl">
#if>
<#if topicOffsets.messagesRate??>
<#assign rate = topicOffsets.messagesRate>
Avg msg/sec rate in last
15sec
1min
5min
15min
30min
1h
2h
6h
12h
24h
<#if rate.last15Sec??>~${toUtil.prettyNumber(rate.last15Sec)}<#else>N/A#if>
<#if rate.lastMin??>~${toUtil.prettyNumber(rate.lastMin)}<#else>N/A#if>
<#if rate.last5Min??>~${toUtil.prettyNumber(rate.last5Min)}<#else>N/A#if>
<#if rate.last15Min??>~${toUtil.prettyNumber(rate.last15Min)}<#else>N/A#if>
<#if rate.last30Min??>~${toUtil.prettyNumber(rate.last30Min)}<#else>N/A#if>
<#if rate.lastH??>~${toUtil.prettyNumber(rate.lastH)}<#else>N/A#if>
<#if rate.last2H??>~${toUtil.prettyNumber(rate.last2H)}<#else>N/A#if>
<#if rate.last6H??>~${toUtil.prettyNumber(rate.last6H)}<#else>N/A#if>
<#if rate.last12H??>~${toUtil.prettyNumber(rate.last12H)}<#else>N/A#if>
<#if rate.last24H??>~${toUtil.prettyNumber(rate.last24H)}<#else>N/A#if>
#if>