From 103723454e9afdf634bcf6cc2db6f5a96a6e246c Mon Sep 17 00:00:00 2001 From: Benedith Mulongo Date: Mon, 18 Nov 2024 16:53:14 +0100 Subject: [PATCH] Add connectors topics --- connector-mgmt-topics/connect-configs-topic.yaml | 13 +++++++++++++ connector-mgmt-topics/connect-offsets-topic.yaml | 13 +++++++++++++ connector-mgmt-topics/connect-status-topic.yaml | 13 +++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 connector-mgmt-topics/connect-configs-topic.yaml create mode 100644 connector-mgmt-topics/connect-offsets-topic.yaml create mode 100644 connector-mgmt-topics/connect-status-topic.yaml diff --git a/connector-mgmt-topics/connect-configs-topic.yaml b/connector-mgmt-topics/connect-configs-topic.yaml new file mode 100644 index 0000000..91c3217 --- /dev/null +++ b/connector-mgmt-topics/connect-configs-topic.yaml @@ -0,0 +1,13 @@ +apiVersion: kafka.strimzi.io/v1beta2 +kind: KafkaTopic +metadata: + name: connect-configs + namespace: kafka + labels: + strimzi.io/cluster: kafka-cluster +spec: + partitions: 1 + replicas: 1 + config: + # http://kafka.apache.org/documentation/#topicconfigs + cleanup.policy: compact diff --git a/connector-mgmt-topics/connect-offsets-topic.yaml b/connector-mgmt-topics/connect-offsets-topic.yaml new file mode 100644 index 0000000..ae769ab --- /dev/null +++ b/connector-mgmt-topics/connect-offsets-topic.yaml @@ -0,0 +1,13 @@ +apiVersion: kafka.strimzi.io/v1beta2 +kind: KafkaTopic +metadata: + name: connect-offsets + namespace: kafka + labels: + strimzi.io/cluster: kafka-cluster +spec: + partitions: 1 + replicas: 1 + config: + # http://kafka.apache.org/documentation/#topicconfigs + cleanup.policy: compact diff --git a/connector-mgmt-topics/connect-status-topic.yaml b/connector-mgmt-topics/connect-status-topic.yaml new file mode 100644 index 0000000..a6a338c --- /dev/null +++ b/connector-mgmt-topics/connect-status-topic.yaml @@ -0,0 +1,13 @@ +apiVersion: kafka.strimzi.io/v1beta2 +kind: KafkaTopic +metadata: + name: connect-status + namespace: kafka + labels: + strimzi.io/cluster: kafka-cluster +spec: + partitions: 1 + replicas: 1 + config: + # http://kafka.apache.org/documentation/#topicconfigs + cleanup.policy: compact