Skip to content

Commit e7c7630

Browse files
committed
updated names in include other GCP connectors
1 parent c5b9c78 commit e7c7630

20 files changed

+26
-1
lines changed

examples/custom-connect-gcp-gcs/Dockerfile renamed to examples/custom-connect-gcp-connectors/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ USER root
44
ENV CONNECT_PLUGIN_PATH="/usr/share/java,/usr/share/confluent-hub-components"
55

66
RUN echo Importing connector plugins \
7+
&& confluent-hub install --no-prompt confluentinc/kafka-connect-gcp-spanner:latest \
78
&& confluent-hub install --no-prompt confluentinc/kafka-connect-gcs:latest \
89
&& echo Connector plugins imported
910

examples/custom-connect-gcp-gcs/README.md renamed to examples/custom-connect-gcp-connectors/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,16 @@ kubectl apply -k .
3030
kubectl port-forward -n sandbox gcsconnect-0 8083:8083
3131
```
3232

33-
8. Create connector using sample JSON
33+
8. Create connectors using sample JSON
3434
```shell
35+
# GCS example connector
3536
curl -XPUT -H "Content-Type: application/json" --data @gcs-sink.json -u connect:connect-secret https://localhost:8083/connectors/gcs-sink/config -kv
37+
38+
# Spanner Sink connector
39+
curl -XPUT -H "Content-Type: application/json" --data @spanner-sink.json -u connect:connect-secret https://localhost:8083/connectors/spanner-sink-connector/config -kv
3640
```
3741

42+
3843
if successfully:
3944
```shell
4045
* Connection #0 to host localhost left intact

0 commit comments

Comments
 (0)