fix(topic transfer): remove useless consumeGroup CRD field
diff --git a/deploy/crds/rocketmq_v1alpha1_topictransfer_crd.yaml b/deploy/crds/rocketmq_v1alpha1_topictransfer_crd.yaml
index 7c3a4f7..c36a3b0 100644
--- a/deploy/crds/rocketmq_v1alpha1_topictransfer_crd.yaml
+++ b/deploy/crds/rocketmq_v1alpha1_topictransfer_crd.yaml
@@ -29,9 +29,6 @@
type: object
spec:
properties:
- consumerGroup:
- description: Consumer group
- type: string
sourceCluster:
description: The cluster where the transferred topic from
type: string
diff --git a/example/rocketmq_v1alpha1_topictransfer_cr.yaml b/example/rocketmq_v1alpha1_topictransfer_cr.yaml
index 8597da0..80e8772 100644
--- a/example/rocketmq_v1alpha1_topictransfer_cr.yaml
+++ b/example/rocketmq_v1alpha1_topictransfer_cr.yaml
@@ -20,8 +20,6 @@
spec:
# topic defines which topic to be transferred
topic: TopicTest
- # consumerGroup defines the consumer group
- consumerGroup: please_rename_unique_group_name_4
# sourceCluster define the source cluster
sourceCluster: broker-0
# targetCluster defines the target cluster
diff --git a/pkg/apis/rocketmq/v1alpha1/topictransfer_types.go b/pkg/apis/rocketmq/v1alpha1/topictransfer_types.go
index fbcb2f3..82a7e37 100644
--- a/pkg/apis/rocketmq/v1alpha1/topictransfer_types.go
+++ b/pkg/apis/rocketmq/v1alpha1/topictransfer_types.go
@@ -33,8 +33,6 @@
// Topic name
Topic string `json:"topic,omitempty"`
- // Consumer group
- ConsumerGroup string `json:"consumerGroup,omitempty"`
// The cluster where the transferred topic from
SourceCluster string `json:"sourceCluster,omitempty"`
// The cluster where the topic will be transferred to