ui.consumers.util.ftl Maven / Gradle / Ivy
<#import "../common/infoIcon.ftl" as cglInfo>
<#macro lagDoc>
<#assign lagDocTooltip>
Difference between topic's log end (latest) offset and consumer group's most recently committed offset.
Lag is number of messages consumer still needs to process before reaching end of topic partition.
#assign>
<@cglInfo.icon tooltip=lagDocTooltip/>
#macro>
<#macro lagPercentDoc>
<#assign lagPercentDocTooltip>
Percentage representing how big is lag in terms of size of partition.
0%
→ no lag at all
100%
→ lag is big as partition is
> 100%
→ consumer overflowed past earliest record
(inf)
→ there is some lag but partition is empty
#assign>
<@cglInfo.icon tooltip=lagPercentDocTooltip/>
#macro>