Creating and publishing a virtual topic
Create a virtual topic for the source topic to control how users can access it. For example, you can set a control to determine who can subscribe to a virtual topic by forcing users to request access. You can then approve or reject requests.
About this task
To create a virtual topic with approval control, complete the following steps:
Procedure
- In the navigation pane, click Manage topics.
- Click the source topic source that you added earlier.
- Click the Virtual topics tab.
- Click Create virtual topic. The Details pane is displayed.
-
In the Virtual topic name field, provide a name for your
virtual topic. For example,
Subscribers. - In the Alias field, provide the Kafka topic name. This is the name of the topic that you added earlier.
- Optional: In the Description field, provide a description of your virtual topic.
- Click Next. The Event data controls pane is displayed.
- Click Next. The Visibility pane is displayed.
- Click Next. The Security controls pane is displayed.
- Select SASL Credentials and enable Require approval, then click Save. Your new virtual topic is displayed.
- To publish the virtual topic with that approval control that you just created, and make the virtual topic available to subscribe to, click Publish on the tile for the virtual topic.
- In the Publish virtual topic dialog, select the gateway group that you added to your gateway earlier.
- Click Publish.
What to do next
After the virtual topic is published, application developers can discover and subscribe to it from the Event Endpoint Management catalog, and consume from it.