From 9e59644b86f2851c4b92ef923528c0efc4b74bd9 Mon Sep 17 00:00:00 2001
From: Prema <107519450+premadk@users.noreply.github.com>
Date: Wed, 18 Jan 2023 12:06:09 -0800
Subject: [PATCH] Add kafka eventbus spec (#12)
Signed-off-by: Prema devi Kuppuswamy
Signed-off-by: David Farr
---
.github/workflows/ci.yaml | 4 +-
api/event-bus.html | 221 ++++
api/event-bus.md | 225 ++++
api/jsonschema/schema.json | 63 +
api/openapi-spec/swagger.json | 63 +
.../controller-manager/controller-config.yaml | 7 +
manifests/install.yaml | 7 +
manifests/namespace-install.yaml | 7 +
pkg/apis/eventbus/v1alpha1/eventbus_types.go | 7 +-
pkg/apis/eventbus/v1alpha1/generated.pb.go | 1175 +++++++++++++++--
pkg/apis/eventbus/v1alpha1/generated.proto | 52 +
pkg/apis/eventbus/v1alpha1/kafka_eventbus.go | 44 +
.../eventbus/v1alpha1/openapi_generated.go | 124 +-
.../v1alpha1/zz_generated.deepcopy.go | 83 ++
14 files changed, 1957 insertions(+), 125 deletions(-)
create mode 100644 pkg/apis/eventbus/v1alpha1/kafka_eventbus.go
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index e837646b49..681794918e 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -5,7 +5,9 @@ on:
- "master"
- "release-*"
pull_request:
- branches: [ master ]
+ branches:
+ - "master"
+ - "feature/*"
permissions:
contents: read
diff --git a/api/event-bus.html b/api/event-bus.html
index d6c93e6af0..707a6991b4 100644
--- a/api/event-bus.html
+++ b/api/event-bus.html
@@ -63,6 +63,19 @@ BusConfig
(Optional)
+
+
+kafka
+
+
+KafkaConfig
+
+
+ |
+
+(Optional)
+ |
+
ContainerTemplate
@@ -188,6 +201,20 @@ EventBus
(Optional)
+
+
+kafka
+
+
+KafkaBus
+
+
+ |
+
+(Optional)
+ Kafka eventbus
+ |
+
@@ -250,6 +277,20 @@ EventBusSpec
(Optional)
+
+
+kafka
+
+
+KafkaBus
+
+
+ |
+
+(Optional)
+ Kafka eventbus
+ |
+
EventBusStatus
@@ -632,6 +673,186 @@ JetStreamConfig
+KafkaBus
+
+
+(Appears on:
+EventBusSpec)
+
+
+
KafkaBus holds the KafkaBus EventBus information
+
+
+
+
+Field |
+Description |
+
+
+
+
+
+exotic
+
+
+KafkaConfig
+
+
+ |
+
+ Exotic holds an exotic Kafka config
+ |
+
+
+
+KafkaConfig
+
+
+(Appears on:
+BusConfig,
+KafkaBus)
+
+
+
+
+
+
+Field |
+Description |
+
+
+
+
+
+url
+
+string
+
+ |
+
+ URL to kafka cluster, multiple URLs separated by comma
+ |
+
+
+
+tls
+
+github.com/argoproj/argo-events/pkg/apis/common.TLSConfig
+
+ |
+
+(Optional)
+ TLS configuration for the kafka client.
+ |
+
+
+
+sasl
+
+github.com/argoproj/argo-events/pkg/apis/common.SASLConfig
+
+ |
+
+(Optional)
+ SASL configuration for the kafka client
+ |
+
+
+
+consumerGroup
+
+
+KafkaConsumerGroup
+
+
+ |
+
+(Optional)
+ Consumer group for kafka client
+ |
+
+
+
+accessSecret
+
+
+Kubernetes core/v1.SecretKeySelector
+
+
+ |
+
+(Optional)
+ Secret for auth
+ |
+
+
+
+streamConfig
+
+string
+
+ |
+
+(Optional)
+ Optional configuration for the kafka, if specified, it will be merged with the default configuration in controller-config.
+It accepts a YAML format configuration, available fields include, “maxRetry”, “configVersion (sarama config version)”, “requiredAcks”, “replication”.
+ |
+
+
+
+KafkaConsumerGroup
+
+
+(Appears on:
+KafkaConfig)
+
+
+
+
+
+
+Field |
+Description |
+
+
+
+
+
+groupName
+
+string
+
+ |
+
+ The name for the consumer group to use
+ |
+
+
+
+rebalanceStrategy
+
+string
+
+ |
+
+(Optional)
+ Rebalance strategy can be one of: sticky, roundrobin, range. Range is the default.
+ |
+
+
+
+startOldest
+
+bool
+
+ |
+
+(Optional)
+ When starting up a new group do we want to start from the oldest event (true) or the newest event (false), defaults to false
+ |
+
+
+
NATSBus
diff --git a/api/event-bus.md b/api/event-bus.md
index e4c1642e42..873aa8c1b7 100644
--- a/api/event-bus.md
+++ b/api/event-bus.md
@@ -74,6 +74,15 @@ NATSConfig
(Optional)
+
+
+kafka
+ KafkaConfig
+ |
+
+(Optional)
+ |
+
@@ -190,6 +199,18 @@ NATS eventbus
(Optional)
+
+
+kafka
+KafkaBus
+ |
+
+(Optional)
+
+Kafka eventbus
+
+ |
+
@@ -250,6 +271,18 @@ NATS eventbus
(Optional)
+
+
+kafka
+KafkaBus
+ |
+
+(Optional)
+
+Kafka eventbus
+
+ |
+
@@ -635,6 +668,198 @@ Secret for auth
+
+KafkaBus
+
+
+(Appears on:
+EventBusSpec)
+
+
+
+KafkaBus holds the KafkaBus EventBus information
+
+
+
+
+
+
+Field
+ |
+
+Description
+ |
+
+
+
+
+
+exotic
+ KafkaConfig
+ |
+
+
+Exotic holds an exotic Kafka config
+
+ |
+
+
+
+
+KafkaConfig
+
+
+(Appears on:
+BusConfig,
+KafkaBus)
+
+
+
+
+
+
+
+Field
+ |
+
+Description
+ |
+
+
+
+
+
+url string
+ |
+
+
+URL to kafka cluster, multiple URLs separated by comma
+
+ |
+
+
+
+tls
+github.com/argoproj/argo-events/pkg/apis/common.TLSConfig
+ |
+
+(Optional)
+
+TLS configuration for the kafka client.
+
+ |
+
+
+
+sasl
+github.com/argoproj/argo-events/pkg/apis/common.SASLConfig
+ |
+
+(Optional)
+
+SASL configuration for the kafka client
+
+ |
+
+
+
+consumerGroup
+ KafkaConsumerGroup
+
+ |
+
+(Optional)
+
+Consumer group for kafka client
+
+ |
+
+
+
+accessSecret
+
+Kubernetes core/v1.SecretKeySelector
+ |
+
+(Optional)
+
+Secret for auth
+
+ |
+
+
+
+streamConfig string
+ |
+
+(Optional)
+
+Optional configuration for the kafka, if specified, it will be merged
+with the default configuration in controller-config. It accepts a YAML
+format configuration, available fields include, “maxRetry”,
+“configVersion (sarama config version)”, “requiredAcks”, “replication”.
+
+ |
+
+
+
+
+KafkaConsumerGroup
+
+
+(Appears on:
+KafkaConfig)
+
+
+
+
+
+
+
+Field
+ |
+
+Description
+ |
+
+
+
+
+
+groupName string
+ |
+
+
+The name for the consumer group to use
+
+ |
+
+
+
+rebalanceStrategy string
+ |
+
+(Optional)
+
+Rebalance strategy can be one of: sticky, roundrobin, range. Range is
+the default.
+
+ |
+
+
+
+startOldest bool
+ |
+
+(Optional)
+
+When starting up a new group do we want to start from the oldest event
+(true) or the newest event (false), defaults to false
+
+ |
+
+
+
NATSBus
diff --git a/api/jsonschema/schema.json b/api/jsonschema/schema.json
index f80c6ebec7..3d41b9642f 100644
--- a/api/jsonschema/schema.json
+++ b/api/jsonschema/schema.json
@@ -287,6 +287,9 @@
"jetstream": {
"$ref": "#/definitions/io.argoproj.eventbus.v1alpha1.JetStreamConfig"
},
+ "kafka": {
+ "$ref": "#/definitions/io.argoproj.eventbus.v1alpha1.KafkaConfig"
+ },
"nats": {
"$ref": "#/definitions/io.argoproj.eventbus.v1alpha1.NATSConfig"
}
@@ -377,6 +380,10 @@
"jetstream": {
"$ref": "#/definitions/io.argoproj.eventbus.v1alpha1.JetStreamBus"
},
+ "kafka": {
+ "$ref": "#/definitions/io.argoproj.eventbus.v1alpha1.KafkaBus",
+ "description": "Kafka eventbus"
+ },
"nats": {
"$ref": "#/definitions/io.argoproj.eventbus.v1alpha1.NATSBus",
"description": "NATS eventbus"
@@ -516,6 +523,62 @@
},
"type": "object"
},
+ "io.argoproj.eventbus.v1alpha1.KafkaBus": {
+ "description": "KafkaBus holds the KafkaBus EventBus information",
+ "properties": {
+ "exotic": {
+ "$ref": "#/definitions/io.argoproj.eventbus.v1alpha1.KafkaConfig",
+ "description": "Exotic holds an exotic Kafka config"
+ }
+ },
+ "type": "object"
+ },
+ "io.argoproj.eventbus.v1alpha1.KafkaConfig": {
+ "properties": {
+ "accessSecret": {
+ "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector",
+ "description": "Secret for auth"
+ },
+ "consumerGroup": {
+ "$ref": "#/definitions/io.argoproj.eventbus.v1alpha1.KafkaConsumerGroup",
+ "description": "Consumer group for kafka client"
+ },
+ "sasl": {
+ "$ref": "#/definitions/io.argoproj.common.SASLConfig",
+ "description": "SASL configuration for the kafka client"
+ },
+ "streamConfig": {
+ "description": "Optional configuration for the kafka, if specified, it will be merged with the default configuration in controller-config. It accepts a YAML format configuration, available fields include, \"maxRetry\", \"configVersion (sarama config version)\", \"requiredAcks\", \"replication\".",
+ "type": "string"
+ },
+ "tls": {
+ "$ref": "#/definitions/io.argoproj.common.TLSConfig",
+ "description": "TLS configuration for the kafka client."
+ },
+ "url": {
+ "description": "URL to kafka cluster, multiple URLs separated by comma",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "io.argoproj.eventbus.v1alpha1.KafkaConsumerGroup": {
+ "properties": {
+ "groupName": {
+ "description": "The name for the consumer group to use",
+ "type": "string"
+ },
+ "rebalanceStrategy": {
+ "description": "Rebalance strategy can be one of: sticky, roundrobin, range. Range is the default.",
+ "type": "string"
+ },
+ "startOldest": {
+ "description": "When starting up a new group do we want to start from the oldest event (true) or the newest event (false), defaults to false",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
"io.argoproj.eventbus.v1alpha1.NATSBus": {
"description": "NATSBus holds the NATS eventbus information",
"properties": {
diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json
index f4601c78c2..0263f307d8 100644
--- a/api/openapi-spec/swagger.json
+++ b/api/openapi-spec/swagger.json
@@ -289,6 +289,9 @@
"jetstream": {
"$ref": "#/definitions/io.argoproj.eventbus.v1alpha1.JetStreamConfig"
},
+ "kafka": {
+ "$ref": "#/definitions/io.argoproj.eventbus.v1alpha1.KafkaConfig"
+ },
"nats": {
"$ref": "#/definitions/io.argoproj.eventbus.v1alpha1.NATSConfig"
}
@@ -370,6 +373,10 @@
"jetstream": {
"$ref": "#/definitions/io.argoproj.eventbus.v1alpha1.JetStreamBus"
},
+ "kafka": {
+ "description": "Kafka eventbus",
+ "$ref": "#/definitions/io.argoproj.eventbus.v1alpha1.KafkaBus"
+ },
"nats": {
"description": "NATS eventbus",
"$ref": "#/definitions/io.argoproj.eventbus.v1alpha1.NATSBus"
@@ -508,6 +515,62 @@
}
}
},
+ "io.argoproj.eventbus.v1alpha1.KafkaBus": {
+ "description": "KafkaBus holds the KafkaBus EventBus information",
+ "type": "object",
+ "properties": {
+ "exotic": {
+ "description": "Exotic holds an exotic Kafka config",
+ "$ref": "#/definitions/io.argoproj.eventbus.v1alpha1.KafkaConfig"
+ }
+ }
+ },
+ "io.argoproj.eventbus.v1alpha1.KafkaConfig": {
+ "type": "object",
+ "properties": {
+ "accessSecret": {
+ "description": "Secret for auth",
+ "$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector"
+ },
+ "consumerGroup": {
+ "description": "Consumer group for kafka client",
+ "$ref": "#/definitions/io.argoproj.eventbus.v1alpha1.KafkaConsumerGroup"
+ },
+ "sasl": {
+ "description": "SASL configuration for the kafka client",
+ "$ref": "#/definitions/io.argoproj.common.SASLConfig"
+ },
+ "streamConfig": {
+ "description": "Optional configuration for the kafka, if specified, it will be merged with the default configuration in controller-config. It accepts a YAML format configuration, available fields include, \"maxRetry\", \"configVersion (sarama config version)\", \"requiredAcks\", \"replication\".",
+ "type": "string"
+ },
+ "tls": {
+ "description": "TLS configuration for the kafka client.",
+ "$ref": "#/definitions/io.argoproj.common.TLSConfig"
+ },
+ "url": {
+ "description": "URL to kafka cluster, multiple URLs separated by comma",
+ "type": "string"
+ }
+ }
+ },
+ "io.argoproj.eventbus.v1alpha1.KafkaConsumerGroup": {
+ "type": "object",
+ "properties": {
+ "groupName": {
+ "description": "The name for the consumer group to use",
+ "type": "string"
+ },
+ "rebalanceStrategy": {
+ "description": "Rebalance strategy can be one of: sticky, roundrobin, range. Range is the default.",
+ "type": "string"
+ },
+ "startOldest": {
+ "description": "When starting up a new group do we want to start from the oldest event (true) or the newest event (false), defaults to false",
+ "type": "boolean"
+ }
+ }
+ },
"io.argoproj.eventbus.v1alpha1.NATSBus": {
"description": "NATSBus holds the NATS eventbus information",
"type": "object",
diff --git a/manifests/base/controller-manager/controller-config.yaml b/manifests/base/controller-manager/controller-config.yaml
index d49d58d746..0d8b2065d8 100644
--- a/manifests/base/controller-manager/controller-config.yaml
+++ b/manifests/base/controller-manager/controller-config.yaml
@@ -62,3 +62,10 @@ data:
metricsExporterImage: natsio/prometheus-nats-exporter:0.9.1
configReloaderImage: natsio/nats-server-config-reloader:0.7.0
startCommand: /nats-server
+ kafka:
+ streamConfig: |
+ # Default Kafka config, can be overridden by EventBus Kafka specs
+ maxRetry: 3
+ configVersion: 2.5.0
+ requiredAcks: -1
+ replication: 3
diff --git a/manifests/install.yaml b/manifests/install.yaml
index f6ad665089..712e6432c4 100644
--- a/manifests/install.yaml
+++ b/manifests/install.yaml
@@ -366,6 +366,13 @@ data:
metricsExporterImage: natsio/prometheus-nats-exporter:0.9.1
configReloaderImage: natsio/nats-server-config-reloader:0.7.0
startCommand: /nats-server
+ kafka:
+ streamConfig: |
+ # Default Kafka config, can be overridden by EventBus Kafka specs
+ maxRetry: 3
+ configVersion: 2.5.0
+ requiredAcks: -1
+ replication: 3
kind: ConfigMap
metadata:
name: argo-events-controller-config
diff --git a/manifests/namespace-install.yaml b/manifests/namespace-install.yaml
index 5f5878839e..1b037a3ab2 100644
--- a/manifests/namespace-install.yaml
+++ b/manifests/namespace-install.yaml
@@ -286,6 +286,13 @@ data:
metricsExporterImage: natsio/prometheus-nats-exporter:0.9.1
configReloaderImage: natsio/nats-server-config-reloader:0.7.0
startCommand: /nats-server
+ kafka:
+ streamConfig: |
+ # Default Kafka config, can be overridden by EventBus Kafka specs
+ maxRetry: 3
+ configVersion: 2.5.0
+ requiredAcks: -1
+ replication: 3
kind: ConfigMap
metadata:
name: argo-events-controller-config
diff --git a/pkg/apis/eventbus/v1alpha1/eventbus_types.go b/pkg/apis/eventbus/v1alpha1/eventbus_types.go
index 06069d6fa2..556a965c99 100644
--- a/pkg/apis/eventbus/v1alpha1/eventbus_types.go
+++ b/pkg/apis/eventbus/v1alpha1/eventbus_types.go
@@ -36,6 +36,9 @@ type EventBusSpec struct {
NATS *NATSBus `json:"nats,omitempty" protobuf:"bytes,1,opt,name=nats"`
// +optional
JetStream *JetStreamBus `json:"jetstream,omitempty" protobuf:"bytes,2,opt,name=jetstream"`
+ // +optional
+ // Kafka eventbus
+ Kafka *KafkaBus `json:"kafka,omitempty" protobuf:"bytes,3,opt,name=kafka"`
}
// EventBusStatus holds the status of the eventbus resource
@@ -51,8 +54,8 @@ type BusConfig struct {
NATS *NATSConfig `json:"nats,omitempty" protobuf:"bytes,1,opt,name=nats"`
// +optional
JetStream *JetStreamConfig `json:"jetstream,omitempty" protobuf:"bytes,2,opt,name=jetstream"`
- // +optional (TODO)
- Kafka *interface{} `json:"kafka,omitempty" protobuf:"bytes,2,opt,name=kafka"`
+ // +optional
+ Kafka *KafkaConfig `json:"kafka,omitempty" protobuf:"bytes,3,opt,name=kafka"`
}
const (
diff --git a/pkg/apis/eventbus/v1alpha1/generated.pb.go b/pkg/apis/eventbus/v1alpha1/generated.pb.go
index 3025c8d848..9ab3859388 100644
--- a/pkg/apis/eventbus/v1alpha1/generated.pb.go
+++ b/pkg/apis/eventbus/v1alpha1/generated.pb.go
@@ -272,10 +272,94 @@ func (m *JetStreamConfig) XXX_DiscardUnknown() {
var xxx_messageInfo_JetStreamConfig proto.InternalMessageInfo
+func (m *KafkaBus) Reset() { *m = KafkaBus{} }
+func (*KafkaBus) ProtoMessage() {}
+func (*KafkaBus) Descriptor() ([]byte, []int) {
+ return fileDescriptor_871e47633eb7aad4, []int{8}
+}
+func (m *KafkaBus) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *KafkaBus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *KafkaBus) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_KafkaBus.Merge(m, src)
+}
+func (m *KafkaBus) XXX_Size() int {
+ return m.Size()
+}
+func (m *KafkaBus) XXX_DiscardUnknown() {
+ xxx_messageInfo_KafkaBus.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_KafkaBus proto.InternalMessageInfo
+
+func (m *KafkaConfig) Reset() { *m = KafkaConfig{} }
+func (*KafkaConfig) ProtoMessage() {}
+func (*KafkaConfig) Descriptor() ([]byte, []int) {
+ return fileDescriptor_871e47633eb7aad4, []int{9}
+}
+func (m *KafkaConfig) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *KafkaConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *KafkaConfig) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_KafkaConfig.Merge(m, src)
+}
+func (m *KafkaConfig) XXX_Size() int {
+ return m.Size()
+}
+func (m *KafkaConfig) XXX_DiscardUnknown() {
+ xxx_messageInfo_KafkaConfig.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_KafkaConfig proto.InternalMessageInfo
+
+func (m *KafkaConsumerGroup) Reset() { *m = KafkaConsumerGroup{} }
+func (*KafkaConsumerGroup) ProtoMessage() {}
+func (*KafkaConsumerGroup) Descriptor() ([]byte, []int) {
+ return fileDescriptor_871e47633eb7aad4, []int{10}
+}
+func (m *KafkaConsumerGroup) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *KafkaConsumerGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+}
+func (m *KafkaConsumerGroup) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_KafkaConsumerGroup.Merge(m, src)
+}
+func (m *KafkaConsumerGroup) XXX_Size() int {
+ return m.Size()
+}
+func (m *KafkaConsumerGroup) XXX_DiscardUnknown() {
+ xxx_messageInfo_KafkaConsumerGroup.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_KafkaConsumerGroup proto.InternalMessageInfo
+
func (m *NATSBus) Reset() { *m = NATSBus{} }
func (*NATSBus) ProtoMessage() {}
func (*NATSBus) Descriptor() ([]byte, []int) {
- return fileDescriptor_871e47633eb7aad4, []int{8}
+ return fileDescriptor_871e47633eb7aad4, []int{11}
}
func (m *NATSBus) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -303,7 +387,7 @@ var xxx_messageInfo_NATSBus proto.InternalMessageInfo
func (m *NATSConfig) Reset() { *m = NATSConfig{} }
func (*NATSConfig) ProtoMessage() {}
func (*NATSConfig) Descriptor() ([]byte, []int) {
- return fileDescriptor_871e47633eb7aad4, []int{9}
+ return fileDescriptor_871e47633eb7aad4, []int{12}
}
func (m *NATSConfig) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -331,7 +415,7 @@ var xxx_messageInfo_NATSConfig proto.InternalMessageInfo
func (m *NativeStrategy) Reset() { *m = NativeStrategy{} }
func (*NativeStrategy) ProtoMessage() {}
func (*NativeStrategy) Descriptor() ([]byte, []int) {
- return fileDescriptor_871e47633eb7aad4, []int{10}
+ return fileDescriptor_871e47633eb7aad4, []int{13}
}
func (m *NativeStrategy) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -359,7 +443,7 @@ var xxx_messageInfo_NativeStrategy proto.InternalMessageInfo
func (m *PersistenceStrategy) Reset() { *m = PersistenceStrategy{} }
func (*PersistenceStrategy) ProtoMessage() {}
func (*PersistenceStrategy) Descriptor() ([]byte, []int) {
- return fileDescriptor_871e47633eb7aad4, []int{11}
+ return fileDescriptor_871e47633eb7aad4, []int{14}
}
func (m *PersistenceStrategy) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -394,6 +478,9 @@ func init() {
proto.RegisterType((*JetStreamBus)(nil), "github.com.argoproj.argo_events.pkg.apis.eventbus.v1alpha1.JetStreamBus")
proto.RegisterMapType((map[string]string)(nil), "github.com.argoproj.argo_events.pkg.apis.eventbus.v1alpha1.JetStreamBus.NodeSelectorEntry")
proto.RegisterType((*JetStreamConfig)(nil), "github.com.argoproj.argo_events.pkg.apis.eventbus.v1alpha1.JetStreamConfig")
+ proto.RegisterType((*KafkaBus)(nil), "github.com.argoproj.argo_events.pkg.apis.eventbus.v1alpha1.KafkaBus")
+ proto.RegisterType((*KafkaConfig)(nil), "github.com.argoproj.argo_events.pkg.apis.eventbus.v1alpha1.KafkaConfig")
+ proto.RegisterType((*KafkaConsumerGroup)(nil), "github.com.argoproj.argo_events.pkg.apis.eventbus.v1alpha1.KafkaConsumerGroup")
proto.RegisterType((*NATSBus)(nil), "github.com.argoproj.argo_events.pkg.apis.eventbus.v1alpha1.NATSBus")
proto.RegisterType((*NATSConfig)(nil), "github.com.argoproj.argo_events.pkg.apis.eventbus.v1alpha1.NATSConfig")
proto.RegisterType((*NativeStrategy)(nil), "github.com.argoproj.argo_events.pkg.apis.eventbus.v1alpha1.NativeStrategy")
@@ -406,120 +493,134 @@ func init() {
}
var fileDescriptor_871e47633eb7aad4 = []byte{
- // 1802 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x58, 0xdb, 0x6e, 0x1b, 0xc7,
- 0x19, 0xd6, 0x4a, 0x94, 0x44, 0x0e, 0x69, 0x1d, 0x46, 0x4a, 0xb3, 0x16, 0x62, 0xd2, 0x60, 0x91,
- 0x42, 0x45, 0xe2, 0x65, 0x1d, 0x04, 0xad, 0x9b, 0x1b, 0x57, 0xab, 0x28, 0xb5, 0x1c, 0xd1, 0x51,
- 0x87, 0x8e, 0x81, 0xa6, 0x41, 0xdd, 0xd1, 0x6a, 0x44, 0xad, 0xcc, 0xdd, 0x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61, 0x86, 0x9f, 0x1e, 0x00, 0x00,
}
func (m *BusConfig) Marshal() (dAtA []byte, err error) {
@@ -542,6 +643,18 @@ func (m *BusConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) {
_ = i
var l int
_ = l
+ if m.Kafka != nil {
+ {
+ size, err := m.Kafka.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1a
+ }
if m.JetStream != nil {
{
size, err := m.JetStream.MarshalToSizedBuffer(dAtA[:i])
@@ -739,6 +852,18 @@ func (m *EventBusSpec) MarshalToSizedBuffer(dAtA []byte) (int, error) {
_ = i
var l int
_ = l
+ if m.Kafka != nil {
+ {
+ size, err := m.Kafka.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1a
+ }
if m.JetStream != nil {
{
size, err := m.JetStream.MarshalToSizedBuffer(dAtA[:i])
@@ -1076,6 +1201,163 @@ func (m *JetStreamConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
+func (m *KafkaBus) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *KafkaBus) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *KafkaBus) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.Exotic != nil {
+ {
+ size, err := m.Exotic.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *KafkaConfig) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *KafkaConfig) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *KafkaConfig) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ i -= len(m.StreamConfig)
+ copy(dAtA[i:], m.StreamConfig)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.StreamConfig)))
+ i--
+ dAtA[i] = 0x32
+ if m.AccessSecret != nil {
+ {
+ size, err := m.AccessSecret.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x2a
+ }
+ if m.ConsumerGroup != nil {
+ {
+ size, err := m.ConsumerGroup.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x22
+ }
+ if m.SASL != nil {
+ {
+ size, err := m.SASL.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1a
+ }
+ if m.TLS != nil {
+ {
+ size, err := m.TLS.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintGenerated(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ }
+ i -= len(m.URL)
+ copy(dAtA[i:], m.URL)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.URL)))
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
+func (m *KafkaConsumerGroup) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *KafkaConsumerGroup) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *KafkaConsumerGroup) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ i--
+ if m.StartOldest {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i--
+ dAtA[i] = 0x18
+ i -= len(m.RebalanceStrategy)
+ copy(dAtA[i:], m.RebalanceStrategy)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.RebalanceStrategy)))
+ i--
+ dAtA[i] = 0x12
+ i -= len(m.GroupName)
+ copy(dAtA[i:], m.GroupName)
+ i = encodeVarintGenerated(dAtA, i, uint64(len(m.GroupName)))
+ i--
+ dAtA[i] = 0xa
+ return len(dAtA) - i, nil
+}
+
func (m *NATSBus) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
@@ -1498,6 +1780,10 @@ func (m *BusConfig) Size() (n int) {
l = m.JetStream.Size()
n += 1 + l + sovGenerated(uint64(l))
}
+ if m.Kafka != nil {
+ l = m.Kafka.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
return n
}
@@ -1564,6 +1850,10 @@ func (m *EventBusSpec) Size() (n int) {
l = m.JetStream.Size()
n += 1 + l + sovGenerated(uint64(l))
}
+ if m.Kafka != nil {
+ l = m.Kafka.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
return n
}
@@ -1684,6 +1974,62 @@ func (m *JetStreamConfig) Size() (n int) {
return n
}
+func (m *KafkaBus) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Exotic != nil {
+ l = m.Exotic.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ return n
+}
+
+func (m *KafkaConfig) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.URL)
+ n += 1 + l + sovGenerated(uint64(l))
+ if m.TLS != nil {
+ l = m.TLS.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ if m.SASL != nil {
+ l = m.SASL.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ if m.ConsumerGroup != nil {
+ l = m.ConsumerGroup.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ if m.AccessSecret != nil {
+ l = m.AccessSecret.Size()
+ n += 1 + l + sovGenerated(uint64(l))
+ }
+ l = len(m.StreamConfig)
+ n += 1 + l + sovGenerated(uint64(l))
+ return n
+}
+
+func (m *KafkaConsumerGroup) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.GroupName)
+ n += 1 + l + sovGenerated(uint64(l))
+ l = len(m.RebalanceStrategy)
+ n += 1 + l + sovGenerated(uint64(l))
+ n += 2
+ return n
+}
+
func (m *NATSBus) Size() (n int) {
if m == nil {
return 0
@@ -1857,6 +2203,7 @@ func (this *BusConfig) String() string {
s := strings.Join([]string{`&BusConfig{`,
`NATS:` + strings.Replace(this.NATS.String(), "NATSConfig", "NATSConfig", 1) + `,`,
`JetStream:` + strings.Replace(this.JetStream.String(), "JetStreamConfig", "JetStreamConfig", 1) + `,`,
+ `Kafka:` + strings.Replace(this.Kafka.String(), "KafkaConfig", "KafkaConfig", 1) + `,`,
`}`,
}, "")
return s
@@ -1908,6 +2255,7 @@ func (this *EventBusSpec) String() string {
s := strings.Join([]string{`&EventBusSpec{`,
`NATS:` + strings.Replace(this.NATS.String(), "NATSBus", "NATSBus", 1) + `,`,
`JetStream:` + strings.Replace(this.JetStream.String(), "JetStreamBus", "JetStreamBus", 1) + `,`,
+ `Kafka:` + strings.Replace(this.Kafka.String(), "KafkaBus", "KafkaBus", 1) + `,`,
`}`,
}, "")
return s
@@ -1983,11 +2331,48 @@ func (this *JetStreamConfig) String() string {
}, "")
return s
}
-func (this *NATSBus) String() string {
+func (this *KafkaBus) String() string {
if this == nil {
return "nil"
}
- s := strings.Join([]string{`&NATSBus{`,
+ s := strings.Join([]string{`&KafkaBus{`,
+ `Exotic:` + strings.Replace(this.Exotic.String(), "KafkaConfig", "KafkaConfig", 1) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *KafkaConfig) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&KafkaConfig{`,
+ `URL:` + fmt.Sprintf("%v", this.URL) + `,`,
+ `TLS:` + strings.Replace(fmt.Sprintf("%v", this.TLS), "TLSConfig", "common.TLSConfig", 1) + `,`,
+ `SASL:` + strings.Replace(fmt.Sprintf("%v", this.SASL), "SASLConfig", "common.SASLConfig", 1) + `,`,
+ `ConsumerGroup:` + strings.Replace(this.ConsumerGroup.String(), "KafkaConsumerGroup", "KafkaConsumerGroup", 1) + `,`,
+ `AccessSecret:` + strings.Replace(fmt.Sprintf("%v", this.AccessSecret), "SecretKeySelector", "v1.SecretKeySelector", 1) + `,`,
+ `StreamConfig:` + fmt.Sprintf("%v", this.StreamConfig) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *KafkaConsumerGroup) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&KafkaConsumerGroup{`,
+ `GroupName:` + fmt.Sprintf("%v", this.GroupName) + `,`,
+ `RebalanceStrategy:` + fmt.Sprintf("%v", this.RebalanceStrategy) + `,`,
+ `StartOldest:` + fmt.Sprintf("%v", this.StartOldest) + `,`,
+ `}`,
+ }, "")
+ return s
+}
+func (this *NATSBus) String() string {
+ if this == nil {
+ return "nil"
+ }
+ s := strings.Join([]string{`&NATSBus{`,
`Native:` + strings.Replace(this.Native.String(), "NativeStrategy", "NativeStrategy", 1) + `,`,
`Exotic:` + strings.Replace(this.Exotic.String(), "NATSConfig", "NATSConfig", 1) + `,`,
`}`,
@@ -2180,6 +2565,42 @@ func (m *BusConfig) Unmarshal(dAtA []byte) error {
return err
}
iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Kafka", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Kafka == nil {
+ m.Kafka = &KafkaConfig{}
+ }
+ if err := m.Kafka.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
@@ -2719,6 +3140,42 @@ func (m *EventBusSpec) Unmarshal(dAtA []byte) error {
return err
}
iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Kafka", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Kafka == nil {
+ m.Kafka = &KafkaBus{}
+ }
+ if err := m.Kafka.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenerated(dAtA[iNdEx:])
@@ -3770,6 +4227,484 @@ func (m *JetStreamConfig) Unmarshal(dAtA []byte) error {
}
return nil
}
+func (m *KafkaBus) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: KafkaBus: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: KafkaBus: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Exotic", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Exotic == nil {
+ m.Exotic = &KafkaConfig{}
+ }
+ if err := m.Exotic.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *KafkaConfig) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: KafkaConfig: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: KafkaConfig: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field URL", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.URL = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field TLS", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.TLS == nil {
+ m.TLS = &common.TLSConfig{}
+ }
+ if err := m.TLS.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SASL", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.SASL == nil {
+ m.SASL = &common.SASLConfig{}
+ }
+ if err := m.SASL.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ConsumerGroup", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.ConsumerGroup == nil {
+ m.ConsumerGroup = &KafkaConsumerGroup{}
+ }
+ if err := m.ConsumerGroup.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field AccessSecret", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.AccessSecret == nil {
+ m.AccessSecret = &v1.SecretKeySelector{}
+ }
+ if err := m.AccessSecret.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field StreamConfig", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.StreamConfig = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *KafkaConsumerGroup) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: KafkaConsumerGroup: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: KafkaConsumerGroup: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field GroupName", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.GroupName = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field RebalanceStrategy", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.RebalanceStrategy = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field StartOldest", wireType)
+ }
+ var v int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenerated
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.StartOldest = bool(v != 0)
+ default:
+ iNdEx = preIndex
+ skippy, err := skipGenerated(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthGenerated
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
func (m *NATSBus) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
diff --git a/pkg/apis/eventbus/v1alpha1/generated.proto b/pkg/apis/eventbus/v1alpha1/generated.proto
index e0d03920f5..0fd7327bcd 100644
--- a/pkg/apis/eventbus/v1alpha1/generated.proto
+++ b/pkg/apis/eventbus/v1alpha1/generated.proto
@@ -37,6 +37,9 @@ message BusConfig {
// +optional
optional JetStreamConfig jetstream = 2;
+
+ // +optional
+ optional KafkaConfig kafka = 3;
}
// ContainerTemplate defines customized spec for a container
@@ -79,6 +82,10 @@ message EventBusSpec {
// +optional
optional JetStreamBus jetstream = 2;
+
+ // +optional
+ // Kafka eventbus
+ optional KafkaBus kafka = 3;
}
// EventBusStatus holds the status of the eventbus resource
@@ -201,6 +208,51 @@ message JetStreamConfig {
optional string streamConfig = 3;
}
+// KafkaBus holds the KafkaBus EventBus information
+message KafkaBus {
+ // Exotic holds an exotic Kafka config
+ optional KafkaConfig exotic = 1;
+}
+
+message KafkaConfig {
+ // URL to kafka cluster, multiple URLs separated by comma
+ optional string url = 1;
+
+ // TLS configuration for the kafka client.
+ // +optional
+ optional github.com.argoproj.argo_events.pkg.apis.common.TLSConfig tls = 2;
+
+ // SASL configuration for the kafka client
+ // +optional
+ optional github.com.argoproj.argo_events.pkg.apis.common.SASLConfig sasl = 3;
+
+ // Consumer group for kafka client
+ // +optional
+ optional KafkaConsumerGroup consumerGroup = 4;
+
+ // Secret for auth
+ // +optional
+ optional k8s.io.api.core.v1.SecretKeySelector accessSecret = 5;
+
+ // Optional configuration for the kafka, if specified, it will be merged with the default configuration in controller-config.
+ // It accepts a YAML format configuration, available fields include, "maxRetry", "configVersion (sarama config version)", "requiredAcks", "replication".
+ // +optional
+ optional string streamConfig = 6;
+}
+
+message KafkaConsumerGroup {
+ // The name for the consumer group to use
+ optional string groupName = 1;
+
+ // Rebalance strategy can be one of: sticky, roundrobin, range. Range is the default.
+ // +optional
+ optional string rebalanceStrategy = 2;
+
+ // When starting up a new group do we want to start from the oldest event (true) or the newest event (false), defaults to false
+ // +optional
+ optional bool startOldest = 3;
+}
+
// NATSBus holds the NATS eventbus information
message NATSBus {
// Native means to bring up a native NATS service
diff --git a/pkg/apis/eventbus/v1alpha1/kafka_eventbus.go b/pkg/apis/eventbus/v1alpha1/kafka_eventbus.go
new file mode 100644
index 0000000000..dcbf106ca1
--- /dev/null
+++ b/pkg/apis/eventbus/v1alpha1/kafka_eventbus.go
@@ -0,0 +1,44 @@
+package v1alpha1
+
+import (
+ apicommon "github.com/argoproj/argo-events/pkg/apis/common"
+ corev1 "k8s.io/api/core/v1"
+)
+
+// KafkaBus holds the KafkaBus EventBus information
+type KafkaBus struct {
+ // Exotic holds an exotic Kafka config
+ Exotic *KafkaConfig `json:"exotic,omitempty" protobuf:"bytes,1,opt,name=exotic"`
+}
+
+type KafkaConfig struct {
+ // URL to kafka cluster, multiple URLs separated by comma
+ URL string `json:"url,omitempty" protobuf:"bytes,1,opt,name=url"`
+ // TLS configuration for the kafka client.
+ // +optional
+ TLS *apicommon.TLSConfig `json:"tls,omitempty" protobuf:"bytes,2,opt,name=tls"`
+ // SASL configuration for the kafka client
+ // +optional
+ SASL *apicommon.SASLConfig `json:"sasl,omitempty" protobuf:"bytes,3,opt,name=sasl"`
+ // Consumer group for kafka client
+ // +optional
+ ConsumerGroup *KafkaConsumerGroup `json:"consumerGroup,omitempty" protobuf:"bytes,4,opt,name=consumerGroup"`
+ // Secret for auth
+ // +optional
+ AccessSecret *corev1.SecretKeySelector `json:"accessSecret,omitempty" protobuf:"bytes,5,opt,name=accessSecret"`
+ // Optional configuration for the kafka, if specified, it will be merged with the default configuration in controller-config.
+ // It accepts a YAML format configuration, available fields include, "maxRetry", "configVersion (sarama config version)", "requiredAcks", "replication".
+ // +optional
+ StreamConfig string `json:"streamConfig,omitempty" protobuf:"bytes,6,opt,name=streamConfig"`
+}
+
+type KafkaConsumerGroup struct {
+ // The name for the consumer group to use
+ GroupName string `json:"groupName,omitempty" protobuf:"bytes,1,opt,name=groupName"`
+ // Rebalance strategy can be one of: sticky, roundrobin, range. Range is the default.
+ // +optional
+ RebalanceStrategy string `json:"rebalanceStrategy,omitempty" protobuf:"bytes,2,opt,name=rebalanceStrategy"`
+ // When starting up a new group do we want to start from the oldest event (true) or the newest event (false), defaults to false
+ // +optional
+ StartOldest bool `json:"startOldest,omitempty" default:"false" protobuf:"bytes,3,opt,name=startOldest"`
+}
diff --git a/pkg/apis/eventbus/v1alpha1/openapi_generated.go b/pkg/apis/eventbus/v1alpha1/openapi_generated.go
index b6a1a9f68a..0c3c3ed550 100644
--- a/pkg/apis/eventbus/v1alpha1/openapi_generated.go
+++ b/pkg/apis/eventbus/v1alpha1/openapi_generated.go
@@ -38,6 +38,9 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA
"github.com/argoproj/argo-events/pkg/apis/eventbus/v1alpha1.EventBusStatus": schema_pkg_apis_eventbus_v1alpha1_EventBusStatus(ref),
"github.com/argoproj/argo-events/pkg/apis/eventbus/v1alpha1.JetStreamBus": schema_pkg_apis_eventbus_v1alpha1_JetStreamBus(ref),
"github.com/argoproj/argo-events/pkg/apis/eventbus/v1alpha1.JetStreamConfig": schema_pkg_apis_eventbus_v1alpha1_JetStreamConfig(ref),
+ "github.com/argoproj/argo-events/pkg/apis/eventbus/v1alpha1.KafkaBus": schema_pkg_apis_eventbus_v1alpha1_KafkaBus(ref),
+ "github.com/argoproj/argo-events/pkg/apis/eventbus/v1alpha1.KafkaConfig": schema_pkg_apis_eventbus_v1alpha1_KafkaConfig(ref),
+ "github.com/argoproj/argo-events/pkg/apis/eventbus/v1alpha1.KafkaConsumerGroup": schema_pkg_apis_eventbus_v1alpha1_KafkaConsumerGroup(ref),
"github.com/argoproj/argo-events/pkg/apis/eventbus/v1alpha1.NATSBus": schema_pkg_apis_eventbus_v1alpha1_NATSBus(ref),
"github.com/argoproj/argo-events/pkg/apis/eventbus/v1alpha1.NATSConfig": schema_pkg_apis_eventbus_v1alpha1_NATSConfig(ref),
"github.com/argoproj/argo-events/pkg/apis/eventbus/v1alpha1.NativeStrategy": schema_pkg_apis_eventbus_v1alpha1_NativeStrategy(ref),
@@ -62,11 +65,16 @@ func schema_pkg_apis_eventbus_v1alpha1_BusConfig(ref common.ReferenceCallback) c
Ref: ref("github.com/argoproj/argo-events/pkg/apis/eventbus/v1alpha1.JetStreamConfig"),
},
},
+ "kafka": {
+ SchemaProps: spec.SchemaProps{
+ Ref: ref("github.com/argoproj/argo-events/pkg/apis/eventbus/v1alpha1.KafkaConfig"),
+ },
+ },
},
},
},
Dependencies: []string{
- "github.com/argoproj/argo-events/pkg/apis/eventbus/v1alpha1.JetStreamConfig", "github.com/argoproj/argo-events/pkg/apis/eventbus/v1alpha1.NATSConfig"},
+ "github.com/argoproj/argo-events/pkg/apis/eventbus/v1alpha1.JetStreamConfig", "github.com/argoproj/argo-events/pkg/apis/eventbus/v1alpha1.KafkaConfig", "github.com/argoproj/argo-events/pkg/apis/eventbus/v1alpha1.NATSConfig"},
}
}
@@ -217,11 +225,17 @@ func schema_pkg_apis_eventbus_v1alpha1_EventBusSpec(ref common.ReferenceCallback
Ref: ref("github.com/argoproj/argo-events/pkg/apis/eventbus/v1alpha1.JetStreamBus"),
},
},
+ "kafka": {
+ SchemaProps: spec.SchemaProps{
+ Description: "Kafka eventbus",
+ Ref: ref("github.com/argoproj/argo-events/pkg/apis/eventbus/v1alpha1.KafkaBus"),
+ },
+ },
},
},
},
Dependencies: []string{
- "github.com/argoproj/argo-events/pkg/apis/eventbus/v1alpha1.JetStreamBus", "github.com/argoproj/argo-events/pkg/apis/eventbus/v1alpha1.NATSBus"},
+ "github.com/argoproj/argo-events/pkg/apis/eventbus/v1alpha1.JetStreamBus", "github.com/argoproj/argo-events/pkg/apis/eventbus/v1alpha1.KafkaBus", "github.com/argoproj/argo-events/pkg/apis/eventbus/v1alpha1.NATSBus"},
}
}
@@ -477,6 +491,112 @@ func schema_pkg_apis_eventbus_v1alpha1_JetStreamConfig(ref common.ReferenceCallb
}
}
+func schema_pkg_apis_eventbus_v1alpha1_KafkaBus(ref common.ReferenceCallback) common.OpenAPIDefinition {
+ return common.OpenAPIDefinition{
+ Schema: spec.Schema{
+ SchemaProps: spec.SchemaProps{
+ Description: "KafkaBus holds the KafkaBus EventBus information",
+ Type: []string{"object"},
+ Properties: map[string]spec.Schema{
+ "exotic": {
+ SchemaProps: spec.SchemaProps{
+ Description: "Exotic holds an exotic Kafka config",
+ Ref: ref("github.com/argoproj/argo-events/pkg/apis/eventbus/v1alpha1.KafkaConfig"),
+ },
+ },
+ },
+ },
+ },
+ Dependencies: []string{
+ "github.com/argoproj/argo-events/pkg/apis/eventbus/v1alpha1.KafkaConfig"},
+ }
+}
+
+func schema_pkg_apis_eventbus_v1alpha1_KafkaConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
+ return common.OpenAPIDefinition{
+ Schema: spec.Schema{
+ SchemaProps: spec.SchemaProps{
+ Type: []string{"object"},
+ Properties: map[string]spec.Schema{
+ "url": {
+ SchemaProps: spec.SchemaProps{
+ Description: "URL to kafka cluster, multiple URLs separated by comma",
+ Type: []string{"string"},
+ Format: "",
+ },
+ },
+ "tls": {
+ SchemaProps: spec.SchemaProps{
+ Description: "TLS configuration for the kafka client.",
+ Ref: ref("github.com/argoproj/argo-events/pkg/apis/common.TLSConfig"),
+ },
+ },
+ "sasl": {
+ SchemaProps: spec.SchemaProps{
+ Description: "SASL configuration for the kafka client",
+ Ref: ref("github.com/argoproj/argo-events/pkg/apis/common.SASLConfig"),
+ },
+ },
+ "consumerGroup": {
+ SchemaProps: spec.SchemaProps{
+ Description: "Consumer group for kafka client",
+ Ref: ref("github.com/argoproj/argo-events/pkg/apis/eventbus/v1alpha1.KafkaConsumerGroup"),
+ },
+ },
+ "accessSecret": {
+ SchemaProps: spec.SchemaProps{
+ Description: "Secret for auth",
+ Ref: ref("k8s.io/api/core/v1.SecretKeySelector"),
+ },
+ },
+ "streamConfig": {
+ SchemaProps: spec.SchemaProps{
+ Description: "Optional configuration for the kafka, if specified, it will be merged with the default configuration in controller-config. It accepts a YAML format configuration, available fields include, \"maxRetry\", \"configVersion (sarama config version)\", \"requiredAcks\", \"replication\".",
+ Type: []string{"string"},
+ Format: "",
+ },
+ },
+ },
+ },
+ },
+ Dependencies: []string{
+ "github.com/argoproj/argo-events/pkg/apis/common.SASLConfig", "github.com/argoproj/argo-events/pkg/apis/common.TLSConfig", "github.com/argoproj/argo-events/pkg/apis/eventbus/v1alpha1.KafkaConsumerGroup", "k8s.io/api/core/v1.SecretKeySelector"},
+ }
+}
+
+func schema_pkg_apis_eventbus_v1alpha1_KafkaConsumerGroup(ref common.ReferenceCallback) common.OpenAPIDefinition {
+ return common.OpenAPIDefinition{
+ Schema: spec.Schema{
+ SchemaProps: spec.SchemaProps{
+ Type: []string{"object"},
+ Properties: map[string]spec.Schema{
+ "groupName": {
+ SchemaProps: spec.SchemaProps{
+ Description: "The name for the consumer group to use",
+ Type: []string{"string"},
+ Format: "",
+ },
+ },
+ "rebalanceStrategy": {
+ SchemaProps: spec.SchemaProps{
+ Description: "Rebalance strategy can be one of: sticky, roundrobin, range. Range is the default.",
+ Type: []string{"string"},
+ Format: "",
+ },
+ },
+ "startOldest": {
+ SchemaProps: spec.SchemaProps{
+ Description: "When starting up a new group do we want to start from the oldest event (true) or the newest event (false), defaults to false",
+ Type: []string{"boolean"},
+ Format: "",
+ },
+ },
+ },
+ },
+ },
+ }
+}
+
func schema_pkg_apis_eventbus_v1alpha1_NATSBus(ref common.ReferenceCallback) common.OpenAPIDefinition {
return common.OpenAPIDefinition{
Schema: spec.Schema{
diff --git a/pkg/apis/eventbus/v1alpha1/zz_generated.deepcopy.go b/pkg/apis/eventbus/v1alpha1/zz_generated.deepcopy.go
index 68524f4cd5..953bad11cb 100644
--- a/pkg/apis/eventbus/v1alpha1/zz_generated.deepcopy.go
+++ b/pkg/apis/eventbus/v1alpha1/zz_generated.deepcopy.go
@@ -40,6 +40,11 @@ func (in *BusConfig) DeepCopyInto(out *BusConfig) {
*out = new(JetStreamConfig)
(*in).DeepCopyInto(*out)
}
+ if in.Kafka != nil {
+ in, out := &in.Kafka, &out.Kafka
+ *out = new(KafkaConfig)
+ (*in).DeepCopyInto(*out)
+ }
return
}
@@ -149,6 +154,11 @@ func (in *EventBusSpec) DeepCopyInto(out *EventBusSpec) {
*out = new(JetStreamBus)
(*in).DeepCopyInto(*out)
}
+ if in.Kafka != nil {
+ in, out := &in.Kafka, &out.Kafka
+ *out = new(KafkaBus)
+ (*in).DeepCopyInto(*out)
+ }
return
}
@@ -301,6 +311,79 @@ func (in *JetStreamConfig) DeepCopy() *JetStreamConfig {
return out
}
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *KafkaBus) DeepCopyInto(out *KafkaBus) {
+ *out = *in
+ if in.Exotic != nil {
+ in, out := &in.Exotic, &out.Exotic
+ *out = new(KafkaConfig)
+ (*in).DeepCopyInto(*out)
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaBus.
+func (in *KafkaBus) DeepCopy() *KafkaBus {
+ if in == nil {
+ return nil
+ }
+ out := new(KafkaBus)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *KafkaConfig) DeepCopyInto(out *KafkaConfig) {
+ *out = *in
+ if in.TLS != nil {
+ in, out := &in.TLS, &out.TLS
+ *out = new(common.TLSConfig)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.SASL != nil {
+ in, out := &in.SASL, &out.SASL
+ *out = new(common.SASLConfig)
+ (*in).DeepCopyInto(*out)
+ }
+ if in.ConsumerGroup != nil {
+ in, out := &in.ConsumerGroup, &out.ConsumerGroup
+ *out = new(KafkaConsumerGroup)
+ **out = **in
+ }
+ if in.AccessSecret != nil {
+ in, out := &in.AccessSecret, &out.AccessSecret
+ *out = new(v1.SecretKeySelector)
+ (*in).DeepCopyInto(*out)
+ }
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaConfig.
+func (in *KafkaConfig) DeepCopy() *KafkaConfig {
+ if in == nil {
+ return nil
+ }
+ out := new(KafkaConfig)
+ in.DeepCopyInto(out)
+ return out
+}
+
+// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
+func (in *KafkaConsumerGroup) DeepCopyInto(out *KafkaConsumerGroup) {
+ *out = *in
+ return
+}
+
+// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KafkaConsumerGroup.
+func (in *KafkaConsumerGroup) DeepCopy() *KafkaConsumerGroup {
+ if in == nil {
+ return nil
+ }
+ out := new(KafkaConsumerGroup)
+ in.DeepCopyInto(out)
+ return out
+}
+
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *NATSBus) DeepCopyInto(out *NATSBus) {
*out = *in