Setup the K3d cluster
./cluster.sh
The script will deploy the Kubernetes secret with the bearer.txt
that contains Confluent Cloud credentials.
The script will deploy the Topic topic-from-cfk
defined at crds/topic.yaml
The Topic CRD references the Confluent Cloud cluster and the defined secret with credentials.
kafkaRest:
endpoint: <CCLOUD_API_REST_ENDPOINT>
kafkaClusterID: <CCLOUD_CLUSTER_ID>
authentication:
type: bearer
bearer:
secretRef: ccloud-credentials
kubectl describe topic topic-from-cfk -n confluent
./cleanup.sh