ui.consumers.components.groupTopicPartitions.ftl Maven / Gradle / Ivy
<#-- @ftlvariable name="consumerGroup" type="com.infobip.kafkistry.service.consumers.KafkaConsumerGroup" -->
<#-- @ftlvariable name="topicsOffsets" type="java.util.Map" -->
<#list consumerGroup.topicMembers as topicMembers>
<#assign topic = topicMembers.topicName>
▼ ${topicMembers.partitionMembers?size} partition(s)...
△
Partition
Topic begin
Group's current
Member client id
Topic end
Lag
<#list topicMembers.partitionMembers as partitionMember>
${(topicsOffsets[topic].partitionsOffsets?api.get(partitionMember.partition).begin)!"N/A"}
${(partitionMember.offset)!"N/A"}
<#if (partitionMember.member)??>
${partitionMember.member.clientId}
<#else>
(unassigned)
#if>
${(topicsOffsets[topic].partitionsOffsets?api.get(partitionMember.partition).end)!"N/A"}
${(partitionMember.lag.amount)!"N/A"}
#list>
#list>