ui.consumers.cloneGroup.ftl Maven / Gradle / Ivy
<#-- @ftlvariable name="lastCommit" type="java.lang.String" -->
<#-- @ftlvariable name="appUrl" type="com.infobip.kafkistry.webapp.url.AppUrl" -->
<#-- @ftlvariable name="clusterIdentifier" type="java.lang.String" -->
<#-- @ftlvariable name="fromConsumerGroupId" type="java.lang.String" -->
<#-- @ftlvariable name="fromConsumerGroup" type="com.infobip.kafkistry.service.consumers.KafkaConsumerGroup" -->
<#-- @ftlvariable name="intoConsumerGroupId" type="java.lang.String" -->
<#-- @ftlvariable name="intoConsumerGroup" type="com.infobip.kafkistry.service.consumers.KafkaConsumerGroup" -->
<#-- @ftlvariable name="topicsOffsets" type="java.util.Map" -->
<#include "../commonResources.ftl"/>
Kafkistry: Clone consumer group
<#include "../commonMenu.ftl">
<#include "../common/backBtn.ftl"> Consumer group offsets clone
From
<#assign consumerGroupId = fromConsumerGroupId>
<#if fromConsumerGroup??>
<#assign consumerGroup = fromConsumerGroup>
#if>
<#include "components/groupMetadata.ftl">
Into
<#assign consumerGroupId = intoConsumerGroupId>
<#if intoConsumerGroup??>
<#assign consumerGroup = intoConsumerGroup>
<#else>
<#assign newConsumerGroup = true>
#if>
<#include "components/groupMetadata.ftl">
<#if fromConsumerGroup??>
<#if intoConsumerGroup??>
NOTE:
All instances of consumers of '${intoConsumerGroupId}' must not be active while performing offset reset
#if>
Select topics/partitions to clone
<#assign consumerGroup = fromConsumerGroup>
<#include "components/groupTopicPartitions.ftl">
<#if fromConsumerGroup.status != "EMPTY" && fromConsumerGroup.status != "UNKNOWN">
WARNING:
It appears that source consumer group to clone from is still active, status: ${fromConsumerGroup.status}.
Offset values are changing while group actively consumes
#if>
<#if intoConsumerGroup?? && intoConsumerGroup.status != "EMPTY" && intoConsumerGroup.status != "UNKNOWN">
WARNING:
It appears that existing consumer group to clone into is still active, status: ${intoConsumerGroup.status}. Offsets clone won't work.
#if>
<#include "../common/cancelBtn.ftl">
<#include "../common/serverOpStatus.ftl">
#if>
<#include "../common/pageBottom.ftl">