DMS for RocketMQ
Create a DMS for RocketMQ event source.
Prerequisites
- (Optional) You have created an event channel.
- You have purchased a DMS for RocketMQ instance. The instance contains topics and is in the Running state. For details, see Buying an Instance.
- You have created a private endpoint with the same VPC and subnet as the RocketMQ instance.
- You have configured the default security group with rules for the RocketMQ instance. For details, see How Do I Configure a Security Group for an Event Source?
Creating a RocketMQ Event Source
- Log in to the EG console.
- In the navigation pane, choose Event Sources.
- Click Create Event Source.
- Set event source information by referring to Table 1.
Table 1 RocketMQ event source parameters Parameter
Description
Type
Two types are available:
- Existing: Select an existing custom event channel.
- New: Create an event channel.
Channel
- If Type is set to Existing, select an existing custom event channel.
- If Type is set to New, enter a channel name and description.
The channel cannot be modified once the event source is created.
Name
Event source name.
The name cannot be modified once the event source is created.
Description
Describe the event source.
Type
Select DMS for RocketMQ.NOTE:You will be prompted to create an agency when creating your first DMS for RocketMQ event source. For details, see Authorization.
Instance
Select a RocketMQ instance.
Self-hosted RocketMQ indicates your own RocketMQ.
Topic
Topic of the RocketMQ instance.
Consumer Group
Consumer group of the RocketMQ instance.
Username
Required if ACL has been enabled for the RocketMQ instance.
Secret Key
Required if ACL has been enabled for the RocketMQ instance.
VPC
Available only when you selected Self-hosted RocketMQ for Instance.
Subnet
Available only when you selected Self-hosted RocketMQ for Instance.
Connection Address
Available only when you selected Self-hosted RocketMQ for Instance. Enter the connection address of your own RocketMQ.
SSL
Available only when you selected Self-hosted RocketMQ for Instance. Specify whether to enable SSL.
NOTE:SSL cannot be modified if your RocketMQ is running. But you can delete the event source and configure it again with SSL setting.
ACL
Available only when you selected Self-hosted RocketMQ for Instance. Specify whether to enable ACL.
- Click OK.
View this event source on the Custom tab.
- Only the event source description can be modified. To modify it, click Edit in the row that contains the desired event source.
- To view details about a custom event source, click its name in the custom event source list.
Follow-Up Procedure
(Optional) Creating an Event Subscription
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.