Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions docs/eventing/samples/kafka/source/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ You must ensure that you meet the [prerequisites listed in the Apache Kafka over
2. Deploy the `KafkaTopic`

```shell
$ kubectl apply -f kafka/source/samples/strimzi-topic.yaml
$ kubectl apply -f strimzi-topic.yaml
kafkatopic.kafka.strimzi.io/knative-demo-topic created
```

Expand All @@ -77,7 +77,14 @@ You must ensure that you meet the [prerequisites listed in the Apache Kafka over

### Create the Event Display service

1. Build the Event Display Service (`even-display.yaml`)
1. Download a copy of the code:

```shell
git clone -b "{{< branch >}}" https://github.com/knative/docs knative-docs
cd knative-docs/docs/eventing/samples/kafka/source
```

2. Build the Event Display Service (`event-display.yaml`)

```yaml
apiVersion: serving.knative.dev/v1
Expand All @@ -97,7 +104,7 @@ You must ensure that you meet the [prerequisites listed in the Apache Kafka over
1. Deploy the Event Display Service

```
$ kubectl apply --filename source/samples/event-display.yaml
$ kubectl apply --filename event-display.yaml
...
service.serving.knative.dev/event-display created
```
Expand Down Expand Up @@ -133,7 +140,7 @@ You must ensure that you meet the [prerequisites listed in the Apache Kafka over

1. Deploy the event source.
```
$ kubectl apply -f kafka/source/samples/event-source.yaml
$ kubectl apply -f event-source.yaml
...
kafkasource.sources.eventing.knative.dev/kafka-source created
```
Expand Down Expand Up @@ -218,7 +225,7 @@ You must ensure that you meet the [prerequisites listed in the Apache Kafka over
4. (Optional) Remove the Apache Kafka Topic

```shell
$ kubectl delete -f kafka/source/samples/kafka-topic.yaml
$ kubectl delete -f kafka-topic.yaml
kafkatopic.kafka.strimzi.io "knative-demo-topic" deleted
```

Expand Down