Help Center> Data Ingestion Service> FAQ> General Questions> How Do I Send and Retrieve Data Using DIS?

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 dis-sdk-X.X.X.zip from https://dis-publish.obs-website.cn-north-1.myhwclouds.com/. Decompress your SDK package and sample project from dis-sdk-X.X.X.zip.
  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.