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

  1. In the navigation pane, click Manage topics.
  2. Click the source topic source that you added earlier.
  3. Click the Virtual topics tab.
  4. Click Create virtual topic. The Details pane is displayed.
  5. In the Virtual topic name field, provide a name for your virtual topic. For example, Subscribers.
  6. In the Alias field, provide the Kafka topic name. This is the name of the topic that you added earlier.
  7. Optional: In the Description field, provide a description of your virtual topic.
  8. Click Next. The Event data controls pane is displayed.
  9. Click Next. The Visibility pane is displayed.
  10. Click Next. The Security controls pane is displayed.
  11. Select SASL Credentials and enable Require approval, then click Save. Your new virtual topic is displayed.
  12. 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.
  13. In the Publish virtual topic dialog, select the gateway group that you added to your gateway earlier.
  14. 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.