Kafka
Deploy Apache Kafka into kafka namespace:
curl -L \
https://github.com/strimzi/strimzi-kafka-operator\
/releases/download/0.21.1/strimzi-cluster-operator-0.21.1.yaml \
| sed 's/namespace:.*/namespace: kafka/' \
| kubectl apply -n kafka -f -
Deploy Knative Eventing KafkaSource
kubectl apply \
-f https://github.com/knative/eventing-contrib/\
releases/download/v0.18.8/kafka-source.yaml
curl -L "https://github.com/knative/eventing-contrib/\
releases/download/v0.18.8/kafka-channel.yaml" \
| sed 's/REPLACE_WITH_CLUSTER_URL/my-cluster-kafka-bootstrap.kafka:9092/' \
| kubectl apply --filename -