Adding a topic
When a Kafka topic is added to Event Endpoint Management, it is referred to as a source topic. To make the source topic accessible to others in your organization, you provide a configuration in the form of a virtual topic that you can publish to the catalog.
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 topic. 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 topics to add from the list of topics available on this cluster. By default, the Kafka topic name is used to populate the Name field, but you can edit this field as required.
If your Event Manager is not able to connect to the Kafka cluster, then a table is presented for you to define provisional topics. Set Name to a unique name that identifies the topic in Event Endpoint Management, and set Kafka topic name to the name of the topic on the Kafka cluster. To add more provisional topics, click Define topic.
Note: When you define a topic manually, the topic is only registered in the Event Manager. The topic is not created on the Kafka cluster. -
Click Add Topic.
Your new topic appears in the Manage topics page with the
Virtual topics status as 0 published
. You can now create and publish a virtual topic.