Help Center/
EventGrid/
Best Practices/
Routing OBS Application Service Messages to DMS for Kafka/
Implementation Procedure/
Creating an Event Subscription
Updated on 2025-08-07 GMT+08:00
Creating an Event Subscription
Constraints
- If you specify an object name prefix or suffix, only events with the prefix or suffix will be processed. If not specified, events of any object will be processed.
- If the selected OBS bucket is invoked by other event subscriptions, ensure that the object name prefix and suffix are different from those configured in other event subscriptions. Otherwise, an error message is displayed.
Procedure
- Log in to the EG console.
- In the navigation pane, choose Event Subscriptions.
- Click Create Event Subscription.
- Click
next to the default subscription name.
- Enter a new subscription name and description, and click OK.
- Configure an event source.
Set the following parameters:
- Provider: Select Huawei Cloud.
- Event Source: Select OBS Application Service.
- Bucket: Select an OBS bucket.
- Event Type: Select the desired event types.
- Object Name Prefix: Only events with this specified object prefix will be processed. By default, this field is left blank, indicating full match.
- Object Name Suffix: Only events with this specified object suffix will be processed. By default, this field is left blank, indicating full match.
- Object Name Encoding: Enable this function.
- Filter Rule: Retain the default value. For details about how to configure a filtering rule, see Filter Rule Parameters.
- Configure an event target.
Set the following parameters:
- Provider: Select Huawei Cloud.
- Event Target: Select Distributed Message Service (DMS) for Kafka.
- Connection: Select kafka-connect.
- Topic: Select topic-eg.
- Enable: Disable message key.
- Transform Type: Select Pass-through. For details about how to configure the transformation rule, see Event Content Transformation.
- Click OK.
Parent topic: Implementation Procedure
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot