Add KafkaSource information and link to example (#1099)

This commit is contained in:
Ashleigh Brennan 2019-03-27 18:48:01 +00:00 committed by Knative Prow Robot
parent db8b10137e
commit 6b021f9020
1 changed files with 12 additions and 0 deletions

View File

@ -256,6 +256,18 @@ The CronJobSource fires events based on given
See the [Cronjob Source](samples/cronjob-source) example.
### KafkaSource
The KafkaSource reads events from an Apache Kafka Cluster, and passes these to a Knative Serving application so that they can be consumed.
**Spec fields**:
- `consumerGroup`: `string` Name of a Kafka consumer group.
- `bootstrapServers`: `string` Comma separated list of `hostname:port` pairs for the Kafka Broker.
- `topics`: `string` Name of the Kafka topic to consume messages from.
See the [Kafka Source](https://github.com/knative/eventing-sources/tree/master/contrib/kafka/samples) example.
## Getting Started
- [Setup Knative Serving](../install/README.md)