Skip to content

Commit f251ca8

Browse files
authored
Adding example to connect self managed SR to CCloud (#214)
1 parent 54ec129 commit f251ca8

File tree

2 files changed

+29
-6
lines changed

2 files changed

+29
-6
lines changed

hybrid/ccloud-integration/README.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Deploy Control Center Confluent Rest Proxy Connectors and ksqlDB using managed Confluent Cloud Kafka
1+
Deploy Control Center, Confluent Rest Proxy, ksqlDB, Connect, and Connectors using managed Confluent Cloud Kafka
22
================================================================
33

4-
You can use Confluent for Kubernetes to deploy and manage Control Center Confluent Rest Proxy Connectors and ksqlDB
4+
You can use Confluent for Kubernetes to deploy and manage Control Center, Confluent Rest Proxy, ksqlDB, Connect, and Connectors
55
against a Confluent Cloud Kafka and Schema Registry.
66

77
Before continuing with the scenario, ensure that you have set up the

hybrid/ccloud-integration/confluent-platform.yaml

+27-4
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,28 @@ spec:
3030
basic:
3131
secretRef: cloud-sr-access
3232
---
33+
# Example to connect self-manged Schema Registry to Confluent Cloud
34+
apiVersion: platform.confluent.io/v1beta1
35+
kind: SchemaRegistry
36+
metadata:
37+
name: schemaregistry
38+
namespace: confluent
39+
spec:
40+
replicas: 1
41+
image:
42+
application: confluentinc/cp-schema-registry:7.3.0
43+
init: confluentinc/confluent-init-container:2.5.0
44+
dependencies:
45+
kafka:
46+
bootstrapEndpoint: <cloudKafka_url>:9092
47+
authentication:
48+
type: plain
49+
jaasConfig:
50+
secretRef: cloud-plain
51+
tls:
52+
enabled: true
53+
ignoreTrustStoreConfig: true
54+
---
3355
apiVersion: platform.confluent.io/v1beta1
3456
kind: KsqlDB
3557
metadata:
@@ -114,6 +136,10 @@ metadata:
114136
name: kafkarestproxy
115137
namespace: confluent
116138
spec:
139+
replicas: 1
140+
image:
141+
application: confluentinc/cp-kafka-rest:7.3.0
142+
init: confluentinc/confluent-init-container:2.5.0
117143
dependencies:
118144
kafka:
119145
bootstrapEndpoint: <cloudKafka_url>:9092
@@ -130,7 +156,4 @@ spec:
130156
type: basic
131157
basic:
132158
secretRef: cloud-sr-access
133-
image:
134-
application: confluentinc/cp-kafka-rest:7.3.0
135-
init: confluentinc/confluent-init-container:2.5.0
136-
replicas: 1
159+

0 commit comments

Comments
 (0)