Help Center> Data Ingestion Service> FAQs> FAQs> General Questions> How Do I Send and Retrieve Data Using DIS?
Updated on 2022-02-24 GMT+08:00

How Do I Send and Retrieve Data Using DIS?

  1. Create a DIS stream. Obtain your Access Key ID/Secret Access Key (AK/SK) pair from the Identity and Access Management (IAM) service.
  2. Download the dis-sdk-X.X.X.zip package at https://dis-publish.obs-website.cn-north-1.myhuaweicloud.com/ and decompress it.
  3. Create a producer project and configure the user AK/SK, endpoint, project ID, region, stream name, and the number of partitions.
  4. Run the producer application to send data.
  5. Create a consumer project and configure the user AK/SK, endpoint, project, region, stream name, partition ID, and startingSequenceNumber.
  6. Run the consumer application to retrieve data.

General Questions FAQs

more