检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Interconnecting with OBS Introduction DIS can upload data to Object Storage Service (OBS). Prerequisites An IAM agency has been created by following the procedure in Creating an IAM Agency. This IAM agency entrusts DIS to access your OBS resources.
Interconnecting with OBS Introduction DIS can upload data to Object Storage Service (OBS). Prerequisites An IAM agency has been created by following the procedure in Creating an IAM Agency. This IAM agency entrusts DIS to access your OBS resources.
- File Directory Directory created in OBS to store files from the DIS stream. This directory name is 0 to 50 characters long.
Adding OBS Dump Tasks Function This API is used to add OBS dump tasks. Calling Method For details, see Calling APIs.
Getting Started General Procedure Step 1: Creating a DIS Stream Step 2: Preparing a DIS Application Development Environment Step 3: Sending Data to DIS Step 4: Obtaining Data from DIS Obtaining Authentication Information Interconnecting with OBS Creating an IAM Agency
Data can be stored in MRS, DIS, OBS, and DLI. For how to configure a storage location, see Creating a Dump Task. The maximum number of days for DIS to preserve data cannot exceed Data Retention (days).
Data can be stored in DIS and Object Storage Service (OBS). For how to configure a storage location, see "Data Dump" in Creating a Dump Task. The maximum number of days for DIS to preserve data cannot exceed Data Retention (days).
OBS Creating a Database Creating an OBS Table Querying a Data Sample Querying Results Creating an OBS Bucket Create an OBS bucket for storing the data dumped by DIS.
Creating an IAM Agency Introduction If you choose to dump data from DIS to OBS, MRS, or DLI, create an IAM agency that grants DIS permissions to access OBS, MRS, or DLI. Creating an IAM Agency Log in to the management console. Click Service List.
Creating an IAM Agency Introduction If you choose to dump data from DIS to OBS, MRS, or DLI, create an IAM agency that grants DIS permissions to access OBS, MRS, or DLI. Creating an IAM Agency Log in to the management console. Click Service List.
Managing a Dump Task Creating a Dump Task Dumping Data to OBS
If you set Dump Destination to OBS, data from the stream will be stored in DIS and then periodically dumped to Object Storage Service (OBS).
You can create OBS buckets and files on the OBS console or client. descriptor.setObsBucketPath("obs-dis"); descriptor.setFilePrefix("transfertask"); //Configure the dump interval that is expressed in units of seconds. descriptor.setDeliverTimeInterval(900); //(Optional) Create an
Configure the following parameters: streamname ="dis-test1" #Name of an existing stream task_name='113' Adding an OBS dump task is used as an example.
You can create OBS buckets and files on the OBS console or client. descriptor.setObsBucketPath("obs-dis1"); descriptor.setFilePrefix("transfertask"); //Configure the dump interval that is expressed in units of seconds. descriptor.setDeliverTimeInterval(300); //(Optional) Configure
OBS: Data is dumped to OBS. MRS: Data is dumped to MRS. DLI: Data is dumped to DLI. CLOUDTABLE: Data is dumped to CloudTable.
Related Services Object Storage Service (OBS) If you set the Data Dumping parameter to Dump to OBS when creating a DIS stream, data in the newly created stream will be periodically dumped into OBS. Identity and Access Management (IAM) IAM provides user authentication for DIS.
Related Services Object Storage Service (OBS) If you set the Data Dumping parameter to Dump to OBS when creating a DIS stream, data in the newly created stream will be periodically dumped into OBS. Identity and Access Management (IAM) IAM provides user authentication for DIS.
Table 1 Common best practices Practice Description Case study Collecting Incremental Log Data of Driving Behavior DIS collects incremental driving behavior log data and uploads the data to Huawei Cloud Object Storage Service (OBS).
Dump Task Management Adding OBS Dump Tasks Querying Dump Tasks Deleting a Dump Task Querying Dump Task Details Starting Dump Tasks Pausing Dump Tasks Parent topic: API Description