检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Routing OBS Application Service Messages to DMS for Kafka Introduction Resource and Cost Planning General Procedure Implementation Procedure
Routing to OBS Configure OBS as the event target when creating an event stream. Prerequisites You have enabled OBS as the event target. Select DMS for RocketMQ as the event source. Procedure Log in to the EG console.
OBS Bucket Management Obtaining the OBS Bucket List Refurbishing OBS Parent topic: APIs
Refurbishing OBS Function This API is used to refurbish the FunctionGraph OBS trigger for EG subscription.
Routing Messages from OBS Application Service to Custom Connections Based on Event Subscriptions Introduction Procedure Implementation Procedure
Parent topic: OBS Bucket Management
Sending an OBS Event Go to the OBS console, and choose Buckets in the navigation pane. Click bucket eg-obs. On the Objects tab, go to the target folder, and click Upload Object. Upload a local file and click Upload.
Sending an OBS Event Log in to the OBS console. In the navigation pane on the left, choose Buckets. Click the name of the bucket created in Creating an OBS Bucket. The object details page is displayed.
Figure 1 Flowchart Parent topic: Routing Messages from OBS Application Service to Custom Connections Based on Event Subscriptions
Creating an OBS Bucket Log in to the OBS console. Click Create Bucket. Set bucket parameters by referring to Figure 1. For details about these parameters, see Creating a Bucket. Region: Select the region of the EG service. Bucket Name: Enter eg-obs.
Creating an OBS Bucket Log in to the OBS console. In the navigation pane on the left, choose Buckets. In the upper right corner, click Create Bucket. For details, see Creating a Bucket. Click Create Now. Parent topic: Implementation Procedure
Implementation Procedure Creating an OBS Bucket Buying a Kafka Instance Creating a Kafka Connection Creating an Event Subscription Sending an OBS Event Viewing Event Messages Parent topic: Routing OBS Application Service Messages to DMS for Kafka
NOTE: Creating OBS buckets is free of charge.
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.
Parent topic: Routing OBS Application Service Messages to DMS for Kafka
Figure 1 Event subscription architecture Parent topic: Routing Messages from OBS Application Service to Custom Connections Based on Event Subscriptions
Buying a Kafka Instance Buying an Instance Log in to the DMS for Kafka console, and click Buy Instance in the upper right. Configure the instance parameters. For details about the parameters for purchasing a Kafka instance, see Buying an Instance. Billing Mode: Select Pay-per-use.
Viewing Event Messages Log in to the DMS for Kafka console, and select the region where the Kafka instance is. On thg DMS for Kafka page, click instance eg-kafka to go to the details page. Click the Message Query tab. Then specify the topic name (topic-eg), partition, and search method
Creating a Kafka Connection Log in to the EG console. In the navigation pane, choose Network Management > Connections. Click Create Connection. When you create your first connection, your authorization will be required and an agency will be automatically created. For details, see
Parent topic: Routing OBS Application Service Messages to DMS for Kafka