检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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
OBS Bucket Data Based on Event Subscription and FunctionGraph
(Specify an agency with OBS access permissions so that FunctionGraph can invoke the OBS service.) Log in to the FunctionGraph console, and choose Functions > Function List in the navigation pane. Click Create Function. Set the function information and click Create Function.
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.
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 suffix will be processed.
Log in to the OBS console. On the Buckets page, click the target bucket name. Check whether the objects have been synchronized. Figure 1 Target bucket directory Parent topic: Implementation Procedure
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
Buying a Kafka Instance Buying an Instance Log in to the DMS for Kafka console and click Buy Kafka Instance in the upper right corner of the page. Configure the instance parameters. For details about the parameters for purchasing a Kafka instance, see Buying an Instance. Billing Mode
Viewing Event Messages Log in to the DMS for Kafka console and select the region where the Kafka instance is located. 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
Implementation Procedure Creating a VPC, Subnet, and Security Group Purchasing an ECS Creating an OBS Bucket Creating a Connection Creating an Event Subscription Sending an OBS Event Viewing Event Messages on the ECS Parent topic: Routing Messages from OBS Application Service to Custom
Viewing Event Delivery Details On the EG console, choose Event Channels, and click View Events of the corresponding event channel to view the delivery and event details. View events Figure 1 Viewing events View event details Figure 2 Viewing event details Parent topic: Implementation
Event Source: Select OBS Application Service. Bucket: Select the bucket created in Creating an OBS Bucket. Event Type: Select the desired event types. Object Name Prefix: If this parameter is set, an event can be triggered only when the name matches the specified prefix.
Creating a Connection Log in to the EG console. In the navigation pane on the left, choose Network Management > Connections. In the upper right corner, click Create Connection. For more information about connections, see Connections. Type: Select WEBHOOK. Name: Enter a custom name
Purchasing an ECS Log in to the ECS console. In the navigation pane on the left, choose Elastic Cloud Server. In the upper right corner, click Buy ECS. For details, see Buying an ECS. Select the VPC, subnet, and security group created in Creating a VPC, Subnet, and Security Group.
Viewing Code Execution Details in FunctionGraph In the function list, find the function for data synchronization. Figure 1 Function list Click the corresponding request in the monitoring to view the code log. Parent topic: Implementation Procedure
Viewing Event Messages on the ECS Return to the CloudShell terminal console page opened in Purchasing an ECS. Since httpsserver.py has been started, CloudShell will print event information. Figure 1 Event message Parent topic: Implementation Procedure
Creating a VPC, Subnet, and Security Group Log in to the VPC console. In the navigation pane on the left, choose My VPCs. Click Create VPC in the upper right corner. For details, see Creating a VPC and Subnet. In the navigation pane on the left, choose Security Groups. Click Create
Step 3: Generate an OBS Event (Create an OBS Bucket) Log in to the OBS console. Click Create Bucket. Set bucket parameters, as shown in Figure 4. For details about the bucket parameters, see Creating a Bucket. Region: The value must be the same as the region of the EG service.
Synchronizing OBS Bucket Data Based on Event Subscription and FunctionGraph This chapter describes how to synchronize OBS bucket data based on EG event subscription and FunctionGraph.
Check the download URL 400 EGS.00516012 Download OBS file failed. Download OBS file failed. Contact your administrator. 400 EGS.00516013 Upload file to OBS failed. Upload file to OBS failed. Contact your administrator. 400 EGS.00516015 Create OBS bucket failed.