Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Broker w/ Kafka as example #1429

Merged
merged 1 commit into from Jun 19, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
26 changes: 12 additions & 14 deletions docs/broker/example_brokers.yaml
Expand Up @@ -17,28 +17,26 @@
---

# By not specifying a spec, the default Channel for the namespace will be used.

# This will change with the 0.8.0 version, since CCP is being removed than
apiVersion: eventing.knative.dev/v1alpha1
kind: Broker
metadata:
name: default-channel
name: default

---

# By specifying spec.channelTemplate, we guarantee the Channel implementation
# used, and thus guarantee the durability of the events that are sent to this
# Broker.
# By specifying spec.channelTemplateSpec, we guarantee a Channel CRD implementation
# can be used, and thus guarantee the durability of the events that are sent to this
# Broker, like here with Kafka:

apiVersion: eventing.knative.dev/v1alpha1
kind: Broker
metadata:
name: pubsub-channel
name: kafka
spec:
channelTemplate:
provisioner:
apiVersion: eventing.knative.dev/v1alpha1
kind: ClusterChannelProvisioner
name: gcp-pubsub



channelTemplateSpec:
apiVersion: messaging.knative.dev/v1alpha1
kind: KafkaChannel
spec:
numPartitions: 3
replicationFactor: 1