Kafka Channel ConfigMap

    To use Kafka channels, you must create a YAML file that specifies how these channels will be created.

    You can copy the following sample code into your kafka-channel ConfigMap:

    To create a Broker that uses the KafkaChannel, specify the kafka-channel ConfigMap:

    1. kubectl create -f - <<EOF
    2. kind: Broker
    3. metadata:
    4. eventing.knative.dev/broker.class: MTChannelBasedBroker
    5. name: kafka-backed-broker
    6. namespace: default
    7. apiVersion: v1
    8. kind: ConfigMap
    9. name: kafka-channel
    10. namespace: knative-eventing