1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-06 06:46:26 +01:00
Files
openshift-docs/modules/serverless-kafka-source-odc.adoc
2020-11-18 14:52:16 +00:00

38 lines
1.6 KiB
Plaintext

// Module included in the following assemblies:
//
// * serverless/event_sources/serverless-kafka-source.adoc
[id="serverless-kafka-source-odc_{context}"]
= Creating a Kafka event source by using the web console
You can create and verify a Kafka event source from the {product-title} web console.
.Prerequisites
* The {ServerlessOperatorName}, Knative Eventing, and the `KnativeKafka` custom resource are installed on your cluster.
* You have logged in to the web console.
* You are in the *Developer* perspective.
* You have created a project or have access to a project with the appropriate roles and permissions to create applications and other workloads in {product-title}.
.Procedure
. Navigate to the *Add* page and select *Event Source*.
. In the *Event Sources* page, select *Kafka Source* in the *Type* section.
. Configure the *Kafka Source* settings:
.. Add a comma-separated list of *Bootstrap Servers*.
.. Add a comma-separated list of *Topics*.
.. Add a *Consumer Group*.
.. Select the *Service Account Name* for the service account that you created.
.. Select the *Sink* for the event source. A *Sink* can be either a *Resource*, such as a channel, broker, or service, or a *URI*.
.. Enter a *Name* for the Kafka event source.
. Click *Create*.
.Verfication steps
You can verify that the Kafka event source was created and is connected to the sink by viewing the *Topology* page.
. In the *Developer* perspective, navigate to *Topology*.
. View the Kafka event source and sink.
+
image::verify-kafka-ODC.png[View the Kafka source and service in the Topology view]