Adding a topic
When a Kafka topic is added to Event Endpoint Management, it is referred to as an event source. To make the event source accessible to others in your organization, you provide a configuration in the form of an option that you can publish to the catalog as an event endpoint.
To add a Kafka topic, complete the following steps:
-
In the navigation pane, click Manage topics.
-
Click Add topic.
-
In the Interaction pane, select how your application will interact with the event source. Click Consume events and click Next.
-
Enter a unique name for your new cluster, and click Next.
-
Enter the bootstrap server URL for your Kafka cluster, and click Next.
Note: After you click Next, Event Endpoint Management validates the entered server URL. During the validation, if any untrusted certificates are found on the bootstrap server URLs, you are asked to confirm whether you accept the certificates. If you do, select the Accept all certificates checkbox, and click Next. -
Optional: If the Kafka endpoint is configured to require mutual TLS authentication, then you must upload the private and public keys (ask your Kafka cluster administrator if you do not have them). Upload the private and public keys in PEM format.
-
Optional: If the entered bootstrap server URLs require SASL credentials to authenticate with Kafka, you are prompted to provide credential details. If required, select the Security protocol, and enter your username and password.
-
Click Next.
-
Select a topic to add from the list of topics available on this cluster.
-
Optional: If a name is not added by default, enter a unique event source name for the topic selected.
Note: The event source name is the unique ID that identifies your topics. -
Click Add Topic.
Your new event source appears in the Manage topics page with the Options status as 0 published. You can now Creating and publishing an option.