Skip to content

Commit 4138465

Browse files
nachocanoknative-prow-robot
authored andcommitted
Updating example due to change in Destination. (#1993)
1 parent 467b011 commit 4138465

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/eventing/samples/gcp-pubsub-source/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,7 @@ to the `default` Broker.
142142
143143
1. We need to wait for the downstream pods to get started and receive our event,
144144
wait a few seconds.
145-
146-
- You can check the status of the downstream pods with:
145+
You can check the status of the downstream pods with:
147146
148147
```shell
149148
kubectl get pods --selector serving.knative.dev/service=event-display
@@ -167,7 +166,7 @@ Context Attributes,
167166
Source: //pubsub.googleapis.com/projects/PROJECT_ID/topics/testing
168167
ID: 815117146007971
169168
Time: 2019-10-31T04:49:12.582Z
170-
DataContentType: application/json
169+
DataContentType: application/octet-stream
171170
Extensions:
172171
knativecemode: binary
173172
knativearrivaltime: 2019-10-31T04:49:12Z

docs/eventing/samples/gcp-pubsub-source/gcp-pubsub-source.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ metadata:
55
spec:
66
topic: testing
77
sink:
8-
apiVersion: eventing.knative.dev/v1alpha1
9-
kind: Broker
10-
name: default
8+
ref:
9+
apiVersion: eventing.knative.dev/v1alpha1
10+
kind: Broker
11+
name: default
1112
# If running in GKE, we will ask the metadata server for the project.
1213
#project: MY_GCP_PROJECT

0 commit comments

Comments
 (0)